Cleanup wsmoused

2014-12-21 Thread Alexandr Shadchin
WSCONS_EVENT_WSMOUSED_SLEEP and WSCONS_EVENT_WSMOUSED_CLOSE not used anymore. OK ? -- Alexandr Shadchin Index: wsconsio.h === RCS file: /cvs/src/sys/dev/wscons/wsconsio.h,v retrieving revision 1.69 diff -u -p -r1.69 wsconsio.h ---

Cleanup wsmoused 2

2014-12-21 Thread Alexandr Shadchin
Now does not need to be initialized event.value. This not used anymore. OK ? -- Alexandr Shadchin Index: wsmoused.c === RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v retrieving revision 1.33 diff -u -p -r1.33 wsmoused.c ---

cleanup wsmoused 1

2014-05-14 Thread Alexandr Shadchin
wsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only, don't need check cmd twice Comment ? OK ? note: diff cteated with 'cvs diff -w' for simplicity -- Alexandr Shadchin Index: wsdisplay.c === RCS file:

cleanup wsmoused 2

2014-05-14 Thread Alexandr Shadchin
Remove unused variables. OK ? -- Alexandr Shadchin Index: wsmoused.c === RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v retrieving revision 1.29 diff -u -p -r1.29 wsmoused.c --- wsmoused.c 24 Nov 2013 01:06:19 - 1.29

cleanup wsmoused 3

2014-05-14 Thread Alexandr Shadchin
Remove unused code. OK ? -- Alexandr Shadchin Index: mouse_protocols.c === RCS file: /cvs/src/usr.sbin/wsmoused/mouse_protocols.c,v retrieving revision 1.13 diff -u -p -r1.13 mouse_protocols.c --- mouse_protocols.c 5 Jun 2009

cleanup wsmoused 4

2014-05-14 Thread Alexandr Shadchin
Remove mouse.baudrate, it is always 1200. OK ? -- Alexandr Shadchin diff --git mouse_protocols.c mouse_protocols.c index b250f65..9ee1039 100644 --- mouse_protocols.c +++ mouse_protocols.c @@ -635,16 +635,15 @@ mouse_init(void) * The baud rate selection command must be sent at

cleanup wsmoused 5

2014-05-14 Thread Alexandr Shadchin
Remove second arg in SetMouseSpeed(), it is always 1200. OK ? -- Alexandr Shadchin diff --git mouse_protocols.c mouse_protocols.c index 9ee1039..a41d618 100644 --- mouse_protocols.c +++ mouse_protocols.c @@ -184,7 +184,7 @@ mouse_name(int type) } void -SetMouseSpeed(int old, int new,