Commit 9831a29a authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

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: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1e73f4b5
...@@ -55,7 +55,7 @@ enum channel_serverstate { ...@@ -55,7 +55,7 @@ enum channel_serverstate {
CHANNELSRV_READY = 1 /* channel has been initialized by server */ CHANNELSRV_READY = 1 /* channel has been initialized by server */
}; };
typedef enum { enum channel_clientstate {
CHANNELCLI_DETACHED = 0, CHANNELCLI_DETACHED = 0,
CHANNELCLI_DISABLED = 1, /* client can see channel but is NOT CHANNELCLI_DISABLED = 1, /* client can see channel but is NOT
* allowed to use it unless given TBD * allowed to use it unless given TBD
...@@ -69,7 +69,7 @@ typedef enum { ...@@ -69,7 +69,7 @@ typedef enum {
* using channel */ * using channel */
CHANNELCLI_OWNED = 5 /* "no worries" state - client can CHANNELCLI_OWNED = 5 /* "no worries" state - client can
* access channel anytime */ * access channel anytime */
} CHANNEL_CLIENTSTATE; };
static inline const u8 * static inline const u8 *
ULTRA_CHANNELCLI_STRING(u32 v) ULTRA_CHANNELCLI_STRING(u32 v)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment