Browse Source

greybus: connection: remove unused invalid state

Remove the unused legacy INVALID connection state.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Johan Hovold 9 years ago
parent
commit
1430cc920a
1 changed files with 3 additions and 4 deletions
  1. 3 4
      drivers/staging/greybus/connection.h

+ 3 - 4
drivers/staging/greybus/connection.h

@@ -20,10 +20,9 @@
 #define GB_CONNECTION_FLAG_CONTROL	BIT(4)
 
 enum gb_connection_state {
-	GB_CONNECTION_STATE_INVALID	= 0,
-	GB_CONNECTION_STATE_DISABLED	= 1,
-	GB_CONNECTION_STATE_ENABLED_TX	= 2,
-	GB_CONNECTION_STATE_ENABLED	= 3,
+	GB_CONNECTION_STATE_DISABLED	= 0,
+	GB_CONNECTION_STATE_ENABLED_TX	= 1,
+	GB_CONNECTION_STATE_ENABLED	= 2,
 };
 
 struct gb_operation;