[PATCH] Input: pc110pad - remove unused variable dev

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE6395d

2 messages, 2 authors, 2009-04-15 · open the first message on its own page

[PATCH] Input: pc110pad - remove unused variable dev

From: Ilpo Järvinen <hidden>
Date: 2009-04-15 10:38:54

dev is leftover from b0ee0d3eb31a163c958f2960906c44bcdfdc607b
(Input: pc110pad - use no_pci_devices()).

Signed-off-by: Ilpo Järvinen <redacted>
---
 drivers/input/mouse/pc110pad.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/input/mouse/pc110pad.c b/drivers/input/mouse/pc110pad.c
index f63995f..3941f97 100644
--- a/drivers/input/mouse/pc110pad.c
+++ b/drivers/input/mouse/pc110pad.c
@@ -108,7 +108,6 @@ static int pc110pad_open(struct input_dev *dev)
  */
 static int __init pc110pad_init(void)
 {
-	struct pci_dev *dev;
 	int err;
 
 	if (!no_pci_devices())
-- 
1.5.2.2

Re: [PATCH] Input: pc110pad - remove unused variable dev

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2009-04-15 15:39:58

On Wed, Apr 15, 2009 at 01:38:51PM +0300, Ilpo Järvinen wrote:
dev is leftover from b0ee0d3eb31a163c958f2960906c44bcdfdc607b
(Input: pc110pad - use no_pci_devices()).

Signed-off-by: Ilpo Järvinen <redacted>
Apllied, thank you Ilpo (I could have sworn I applied similar patch
before).

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help