Re: [Patch v2] USB: sisusbvga: Remove unneeded variable
From: Greg Kroah-Hartman
Date: Sat Jun 08 2019 - 09:43:24 EST
On Fri, Jun 07, 2019 at 07:26:58AM +0530, Hariprasad Kelam wrote:
> fix below warning reported by coccicheck
> drivers/usb/misc/sisusbvga/sisusb.c:1753:5-8: Unneeded variable: "ret".
> Return "0" on line 1877
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam@xxxxxxxxx>
> changes in v2: Change return type of sisusb_set_default_mode from int to void
> as it never fails.
Please put this information in the changelog as it explains why you are
making this change. As it is now, the changelog does not reflect what
is really happening here.