linux/drivers/usb/misc/sisusbvga
Hariprasad Kelam a3fe2605a6 USB: sisusbvga: Remove unneeded variable
Remove unneeded variable ret in function sisusb_set_default_mode.

Change return type of sisusb_set_default_mode from int to void
as it never fails.

Issue identified by coccicheck

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
-----
changes in v2: Change return type of sisusb_set_default_mode from int to
void as it never fails

changes in v3: Update changelog
----

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-10 18:03:09 +02:00
..
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb_con.c usb: sisusb: remove useless macros and compact the code 2019-01-25 10:02:49 +01:00
sisusb_init.c usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb_init.h USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
sisusb_struct.h USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
sisusb.c USB: sisusbvga: Remove unneeded variable 2019-06-10 18:03:09 +02:00
sisusb.h usb: sisusb_con, cleanup configs 2019-01-25 10:02:49 +01:00