summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fieldbus
diff options
context:
space:
mode:
authorSven Van Asbroeck <thesven73@gmail.com>2019-09-18 14:35:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-30 21:58:03 +0200
commit7c1a38e1fe05b7740b5e36ec0f7675f241a1e225 (patch)
treedfa5f71ba3a58e5479c414ebbee942b75cfc8097 /drivers/staging/fieldbus
parent854d66df74aed25cabb25e8224179374b5d5ecbe (diff)
downloadlinux-7c1a38e1fe05b7740b5e36ec0f7675f241a1e225.tar.bz2
staging: fieldbus core: remove unused strings
Remove two unused static const strings - a leftover from a previous stage. Interestingly, neither gcc nor sparse warned about their presence. Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com> Link: https://lore.kernel.org/r/20190918183552.28959-2-TheSven73@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fieldbus')
-rw-r--r--drivers/staging/fieldbus/dev_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/fieldbus/dev_core.c b/drivers/staging/fieldbus/dev_core.c
index f6f5b92ba914..1ba0234cc60d 100644
--- a/drivers/staging/fieldbus/dev_core.c
+++ b/drivers/staging/fieldbus/dev_core.c
@@ -23,9 +23,6 @@ static dev_t fieldbus_devt;
static DEFINE_IDA(fieldbus_ida);
static DEFINE_MUTEX(fieldbus_mtx);
-static const char ctrl_enabled[] = "enabled";
-static const char ctrl_disabled[] = "disabled";
-
static ssize_t online_show(struct device *dev, struct device_attribute *attr,
char *buf)
{