[PATCH] mISDN/hfcsusb: remove unused variable hfcsusb_rev

Subsystems: the rest

STALE5297d

2 messages, 2 authors, 2012-02-13 · open the first message on its own page

[PATCH] mISDN/hfcsusb: remove unused variable hfcsusb_rev

From: Danny Kukawka <hidden>
Date: 2012-02-10 15:01:28

Removed unused variable hfcsusb_rev (-Wunused-variable) and
copied Revision info to file comment block above to keep the info.

Signed-off-by: Danny Kukawka <redacted>
---
 drivers/isdn/hardware/mISDN/hfcsusb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.c b/drivers/isdn/hardware/mISDN/hfcsusb.c
index 0e1f4d5..43b4d29 100644
--- a/drivers/isdn/hardware/mISDN/hfcsusb.c
+++ b/drivers/isdn/hardware/mISDN/hfcsusb.c
@@ -27,6 +27,7 @@
  *   poll=<n>, default 128
  *     n : burst size of PH_DATA_IND at transparent rx data
  *
+ * Revision: 0.3.3 (socket), 2008-11-05
  */
 
 #include <linux/module.h>
@@ -36,8 +37,6 @@
 #include <linux/slab.h>
 #include "hfcsusb.h"
 
-static const char *hfcsusb_rev = "Revision: 0.3.3 (socket), 2008-11-05";
-
 static unsigned int debug;
 static int poll = DEFAULT_TRANSP_BURST_SZ;
 
-- 
1.7.7.3

Re: [PATCH] mISDN/hfcsusb: remove unused variable hfcsusb_rev

From: David Miller <davem@davemloft.net>
Date: 2012-02-13 05:51:11

From: Danny Kukawka <redacted>
Date: Fri, 10 Feb 2012 16:01:08 +0100
Removed unused variable hfcsusb_rev (-Wunused-variable) and
copied Revision info to file comment block above to keep the info.

Signed-off-by: Danny Kukawka <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help