From: Johan Hovold Date: Fri, 27 May 2016 15:26:32 +0000 (+0200) Subject: greybus: connection: remove unused invalid state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1430cc920ab374a94f3a31574a2d616dd7f4c4d1;p=linux-beck.git greybus: connection: remove unused invalid state Remove the unused legacy INVALID connection state. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h index 6120c088648a..9a35e6196b17 100644 --- a/drivers/staging/greybus/connection.h +++ b/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;