summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-03 13:48:55 -0700
committerKalle Valo <kvalo@codeaurora.org>2016-06-16 18:14:14 +0300
commit035ddbc59f542453491356dbcb4b8c2d548acf43 (patch)
tree47df141e1f6d0459e4dfc417833b26e48f71bcfa /drivers/net/wireless/marvell
parent5345ea6a4bfb956b1d021fbd9c62daa921942d85 (diff)
downloadop-kernel-dev-035ddbc59f542453491356dbcb4b8c2d548acf43.zip
op-kernel-dev-035ddbc59f542453491356dbcb4b8c2d548acf43.tar.gz
libertas_tf: Drop unused variable and define
gcc-6 reports: drivers/net/wireless/marvell/libertas_tf/main.c:30:19: error: 'lbtf_driver_version' defined but not used with -Werror=unused-const-variable=. Reported-by: Fengguang Wu <fengguang.wu@intel.com> [0-day test robot] Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r--drivers/net/wireless/marvell/libertas_tf/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/marvell/libertas_tf/main.c b/drivers/net/wireless/marvell/libertas_tf/main.c
index 0bf8916..75bf0c8 100644
--- a/drivers/net/wireless/marvell/libertas_tf/main.c
+++ b/drivers/net/wireless/marvell/libertas_tf/main.c
@@ -16,7 +16,6 @@
#include <linux/module.h>
#include "libertas_tf.h"
-#define DRIVER_RELEASE_VERSION "004.p0"
/* thinfirm version: 5.132.X.pX */
#define LBTF_FW_VER_MIN 0x05840300
#define LBTF_FW_VER_MAX 0x0584ffff
@@ -27,12 +26,6 @@ unsigned int lbtf_debug;
EXPORT_SYMBOL_GPL(lbtf_debug);
module_param_named(libertas_tf_debug, lbtf_debug, int, 0644);
-static const char lbtf_driver_version[] = "THINFIRM-USB8388-" DRIVER_RELEASE_VERSION
-#ifdef DEBUG
- "-dbg"
-#endif
- "";
-
struct workqueue_struct *lbtf_wq;
static const struct ieee80211_channel lbtf_channels[] = {
OpenPOWER on IntegriCloud