Commit a43bb30b authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: include: remove unused ULTRA_CHANNELCLI_STRING

The inline ULTRA_CHANNELCLI_STRING is not being used so remove it.
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0082b016
...@@ -75,28 +75,6 @@ enum channel_clientstate { ...@@ -75,28 +75,6 @@ enum channel_clientstate {
/* access channel anytime */ /* access channel anytime */
}; };
static inline const u8 *
ULTRA_CHANNELCLI_STRING(u32 state)
{
switch (state) {
case CHANNELCLI_DETACHED:
return (const u8 *)("DETACHED");
case CHANNELCLI_DISABLED:
return (const u8 *)("DISABLED");
case CHANNELCLI_ATTACHING:
return (const u8 *)("ATTACHING");
case CHANNELCLI_ATTACHED:
return (const u8 *)("ATTACHED");
case CHANNELCLI_BUSY:
return (const u8 *)("BUSY");
case CHANNELCLI_OWNED:
return (const u8 *)("OWNED");
default:
break;
}
return (const u8 *)("?");
}
#define SPAR_CHANNEL_SERVER_READY(ch) \ #define SPAR_CHANNEL_SERVER_READY(ch) \
(readl(&(ch)->srv_state) == CHANNELSRV_READY) (readl(&(ch)->srv_state) == CHANNELSRV_READY)
......
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