* [PATCH] libertas_tf: Drop unused variable and define
@ 2016-06-03 20:48 Guenter Roeck
2016-06-16 15:14 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-06-03 20:48 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, netdev, linux-kernel, Guenter Roeck
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>
---
drivers/net/wireless/marvell/libertas_tf/main.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/net/wireless/marvell/libertas_tf/main.c b/drivers/net/wireless/marvell/libertas_tf/main.c
index 0bf8916a02cf..75bf0c8a2f6f 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[] = {
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: libertas_tf: Drop unused variable and define
2016-06-03 20:48 [PATCH] libertas_tf: Drop unused variable and define Guenter Roeck
@ 2016-06-16 15:14 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2016-06-16 15:14 UTC (permalink / raw)
To: Guenter Roeck; +Cc: linux-wireless, netdev, linux-kernel, Guenter Roeck
Guenter Roeck <linux@roeck-us.net> wrote:
> 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>
Thanks, 1 patch applied to wireless-drivers-next.git:
035ddbc59f54 libertas_tf: Drop unused variable and define
--
Sent by pwcli
https://patchwork.kernel.org/patch/9154015/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-16 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-03 20:48 [PATCH] libertas_tf: Drop unused variable and define Guenter Roeck
2016-06-16 15:14 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).