staging: unisys: include: remove unused ULTRA_CHANNELCLI_STRING
authorDavid Kershner <david.kershner@unisys.com>
Tue, 20 Sep 2016 20:29:02 +0000 (16:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Sep 2016 10:06:20 +0000 (12:06 +0200)
The inline ULTRA_CHANNELCLI_STRING is not being used so remove it.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/channel.h

index ba8bfdc14303d3715f65a755d3e5a14319cac2d7..259ef6487959f5e37915651e3eeea33de2a8e367 100644 (file)
@@ -75,28 +75,6 @@ enum channel_clientstate {
                                /* 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) \
        (readl(&(ch)->srv_state) == CHANNELSRV_READY)