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 <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e73f4b533
commit
9831a29a38
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue