Browse Source

Input: psmouse - fix compile warning in hgpk module

The variable 'dev' is unused in function 'hgpk_register'.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
René Bolldorf 15 years ago
parent
commit
c6bde2d9cb
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/input/mouse/hgpk.c

+ 0 - 1
drivers/input/mouse/hgpk.c

@@ -427,7 +427,6 @@ static void hgpk_recalib_work(struct work_struct *work)
 
 static int hgpk_register(struct psmouse *psmouse)
 {
-	struct input_dev *dev = psmouse->dev;
 	int err;
 
 	/* register handlers */