2012-02-10 15:01:28

by Danny Kukawka

[permalink] [raw]
Subject: [PATCH] mISDN/hfcsusb: remove unused variable hfcsusb_rev

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 <[email protected]>
---
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


2012-02-13 05:51:11

by David Miller

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

From: Danny Kukawka <[email protected]>
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 <[email protected]>

Applied.