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>
This commit is contained in:
Sven Van Asbroeck 2019-09-18 14:35:48 -04:00 committed by Greg Kroah-Hartman
parent 854d66df74
commit 7c1a38e1fe
1 changed files with 0 additions and 3 deletions

View File

@ -23,9 +23,6 @@ static dev_t fieldbus_devt;
static DEFINE_IDA(fieldbus_ida); static DEFINE_IDA(fieldbus_ida);
static DEFINE_MUTEX(fieldbus_mtx); 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, static ssize_t online_show(struct device *dev, struct device_attribute *attr,
char *buf) char *buf)
{ {