[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190608133900.GA11489@kroah.com>
Date: Sat, 8 Jun 2019 15:39:00 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Hariprasad Kelam <hariprasad.kelam@...il.com>
Cc: Thomas Winischhofer <thomas@...ischhofer.net>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [Patch v2] USB: sisusbvga: Remove unneeded variable
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@...il.com>
> -----
> 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.
thanks,
greg k-h
Powered by blists - more mailing lists