usb: sisusb: remove useless macros and compact the code
authorJiri Slaby <jslaby@suse.cz>
Tue, 22 Jan 2019 15:12:02 +0000 (16:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2019 09:02:49 +0000 (10:02 +0100)
commit5b25536954bf8761704e05baa05e993d323bff8a
tree3e927243bbcc89245d950e52c25f8867342b8b76
parent0277531df26ff75f010882ad820ca83e35935a2f
usb: sisusb: remove useless macros and compact the code

Remove macros which are only wrappers around standard operations. When
we expand them into code, we see that sisusbcon_memsetw can simply use
memset16 and sisusbcon_putcs can just call memcpy. So make the code
compact.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/sisusb_con.c