[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190918183552.28959-2-TheSven73@gmail.com>
Date: Wed, 18 Sep 2019 14:35:48 -0400
From: Sven Van Asbroeck <thesven73@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Andreas Färber <afaerber@...e.de>,
Linus Walleij <linus.walleij@...aro.org>,
Enrico Weigelt <lkml@...ux.net>,
Oliver Hartkopp <socketcan@...tkopp.net>,
jan.kiszka@...mens.com, Frank Iwanitz <friw@...-networks.de>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH v1 1/5] 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@...il.com>
---
drivers/staging/fieldbus/dev_core.c | 3 ---
1 file changed, 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)
{
--
2.17.1
Powered by blists - more mailing lists