Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 035ddbc5 authored by Guenter Roeck's avatar Guenter Roeck Committed by Kalle Valo
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 5345ea6a
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -16,7 +16,6 @@
#include <linux/module.h>
#include <linux/module.h>
#include "libertas_tf.h"
#include "libertas_tf.h"


#define DRIVER_RELEASE_VERSION "004.p0"
/* thinfirm version: 5.132.X.pX */
/* thinfirm version: 5.132.X.pX */
#define LBTF_FW_VER_MIN		0x05840300
#define LBTF_FW_VER_MIN		0x05840300
#define LBTF_FW_VER_MAX		0x0584ffff
#define LBTF_FW_VER_MAX		0x0584ffff
@@ -27,12 +26,6 @@ unsigned int lbtf_debug;
EXPORT_SYMBOL_GPL(lbtf_debug);
EXPORT_SYMBOL_GPL(lbtf_debug);
module_param_named(libertas_tf_debug, lbtf_debug, int, 0644);
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;
struct workqueue_struct *lbtf_wq;


static const struct ieee80211_channel lbtf_channels[] = {
static const struct ieee80211_channel lbtf_channels[] = {