summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/hil_ptr.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:34:02 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:34:02 -0400
commit0ca1804f2e4d78e6a037da23f96aa56f762e78fb (patch)
tree58430e1f5e93092f111c438e4575be0c04c121a4 /drivers/input/mouse/hil_ptr.c
parent3abccf36081ac827cf5d14db6837117f088937eb (diff)
Input: drivers/input/mice - don't access dev->private directly
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/hil_ptr.c')
-rw-r--r--drivers/input/mouse/hil_ptr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/mouse/hil_ptr.c b/drivers/input/mouse/hil_ptr.c
index 8e9421a643bc..6c67aa48afb8 100644
--- a/drivers/input/mouse/hil_ptr.c
+++ b/drivers/input/mouse/hil_ptr.c
@@ -259,8 +259,6 @@ static int hil_ptr_connect(struct serio *serio, struct serio_driver *driver)
if (!ptr->dev)
goto bail0;
- ptr->dev->private = ptr;
-
if (serio_open(serio, driver))
goto bail1;