summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/channel.h
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2016-09-20 16:29:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-21 12:06:20 +0200
commita43bb30b62cf6993f1351c3f0d25f048e96052cd (patch)
tree4eca2407918001021a98d6a47e33692d3ded4592 /drivers/staging/unisys/include/channel.h
parent0082b016b59e67cbbb747166565074f61255da7d (diff)
downloadlinux-stable-a43bb30b62cf6993f1351c3f0d25f048e96052cd.tar.gz
linux-stable-a43bb30b62cf6993f1351c3f0d25f048e96052cd.tar.bz2
linux-stable-a43bb30b62cf6993f1351c3f0d25f048e96052cd.zip
staging: unisys: include: remove unused ULTRA_CHANNELCLI_STRING
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>
Diffstat (limited to 'drivers/staging/unisys/include/channel.h')
-rw-r--r--drivers/staging/unisys/include/channel.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/staging/unisys/include/channel.h b/drivers/staging/unisys/include/channel.h
index ba8bfdc14303..259ef6487959 100644
--- a/drivers/staging/unisys/include/channel.h
+++ b/drivers/staging/unisys/include/channel.h
@@ -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)