]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: usb: Mark function as static in metro-usb.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 10:13:17 +0000 (15:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 18:23:12 +0000 (10:23 -0800)
commit5e707e4d1fe7847a779abebb89258d3e42b82721
treec0b42b9065faf88be50ffc9c864a3dd83bdf2c5c
parent0593126971f327c9098066ea80dcb7c633c9a139
drivers: usb: Mark function as static in metro-usb.c

Mark function metrousb_is_unidirectional_mode() in serial/metro-usb.c
because it is not used outside this file.

This eliminates the following warning in serial/metro-usb.c:
drivers/usb/serial/metro-usb.c:57:12: warning: no previous prototype for ‘metrousb_is_unidirectional_mode’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/metro-usb.c