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>
This commit is contained in:
Johan Hovold 2016-05-27 17:26:32 +02:00 committed by Greg Kroah-Hartman
parent 00ad6975e7
commit 1430cc920a
1 changed files with 3 additions and 4 deletions

View File

@ -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;