From: Benjamin Romer Date: Thu, 23 Oct 2014 18:29:52 +0000 (-0400) Subject: staging: unisys: get rid of typedef for CHANNEL_CLIENTSTATE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9831a29a384513c2c1a16c10f9ad619e112c10c0;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: get rid of typedef for CHANNEL_CLIENTSTATE Remove the typedef for CHANNEL_CLIENTSTATE and just use enum channel_clientstate instead. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h index 8c54adf724ed..304f81b96d2a 100644 --- a/drivers/staging/unisys/common-spar/include/channels/channel.h +++ b/drivers/staging/unisys/common-spar/include/channels/channel.h @@ -55,7 +55,7 @@ enum channel_serverstate { CHANNELSRV_READY = 1 /* channel has been initialized by server */ }; -typedef enum { +enum channel_clientstate { CHANNELCLI_DETACHED = 0, CHANNELCLI_DISABLED = 1, /* client can see channel but is NOT * allowed to use it unless given TBD @@ -69,7 +69,7 @@ typedef enum { * using channel */ CHANNELCLI_OWNED = 5 /* "no worries" state - client can * access channel anytime */ -} CHANNEL_CLIENTSTATE; +}; static inline const u8 * ULTRA_CHANNELCLI_STRING(u32 v) {