]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Input: psmouse - fix compile warning in hgpk module
authorRené Bolldorf <xsecute@googlemail.com>
Wed, 30 Dec 2009 07:06:52 +0000 (23:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Dec 2009 07:20:09 +0000 (23:20 -0800)
The variable 'dev' is unused in function 'hgpk_register'.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/hgpk.c

index b146237266d82610cf7a6a130e3e524a72f61ee2..90be30e9355606cbc0e50971fc4381c5b429952e 100644 (file)
@@ -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 */