greybus: connection: remove unused invalid state
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:32 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:21:16 +0000 (12:21 -0700)
Remove the unused legacy INVALID connection state.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.h

index 6120c08..9a35e61 100644 (file)
 #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;