OSDN Git Service

wusb: Remove unnecessary static function ckhdid_printf
authorJoe Perches <joe@perches.com>
Fri, 1 Mar 2019 04:38:16 +0000 (20:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2019 19:53:41 +0000 (20:53 +0100)
commit1c7cf3d5e1c181caca75012b65252288c18a25f2
tree009fb9d944d2218c439edb8c51dc2ea1cfd217c3
parent5d5d44dec7270e06c74b2f83ebca1fc081971862
wusb: Remove unnecessary static function ckhdid_printf

This static inline is unnecessary and can be removed
by using the vsprintf %ph extension.

This reduces overall object size by more than 2K.

Reported-by: Louis Taylor <louis@kragniz.eu>
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Louis Taylor <louis@kragniz.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/cbaf.c
drivers/usb/wusbcore/dev-sysfs.c
drivers/usb/wusbcore/devconnect.c
drivers/usb/wusbcore/wusbhc.c
include/linux/usb/wusb.h