USB: sisusbvga: Remove unneeded variable
commita3fe2605a60d1d038e9a50cc3cd8a76bb48790b5
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sun, 9 Jun 2019 03:07:52 +0000 (9 08:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 16:03:09 +0000 (10 18:03 +0200)
treeac375e27780a80e096cede67755afbb55b1505c8
parent4c06a42e826d5bb24408c528aba2c13528225071
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>
drivers/usb/misc/sisusbvga/sisusb.c