diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-21 17:07:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-26 21:00:57 +1000 |
commit | efbc3e98be4bacbb7ca08409d33584ffd55ee794 (patch) | |
tree | 2c6c0500aa3cc553e3d6b0542bfd424c4234da68 /src/ps2comm.c | |
parent | c09a3d50e995302ec08c5d5f8c679148613e1656 (diff) |
Remove un-used DeviceOn/Off hooks.
And allow for them to be NULL without crashing the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/ps2comm.c')
-rw-r--r-- | src/ps2comm.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ps2comm.c b/src/ps2comm.c index 6486765..2b7e8a9 100644 --- a/src/ps2comm.c +++ b/src/ps2comm.c @@ -444,12 +444,6 @@ ps2_print_ident(const struct SynapticsHwInfo *synhw) } } - -static void -PS2DeviceOnHook(LocalDevicePtr local, SynapticsParameters* para) -{ -} - static void PS2DeviceOffHook(LocalDevicePtr local) { @@ -756,7 +750,7 @@ PS2AutoDevProbe(LocalDevicePtr local) } struct SynapticsProtocolOperations psaux_proto_operations = { - PS2DeviceOnHook, + NULL, PS2DeviceOffHook, PS2QueryHardware, PS2ReadHwState, |