Re: [PATCH] video: fbdev: mb862xx: remove unused variable

From
Wolfram Sang <hidden>
Date
2016-08-26 15:46:08
Also in
lkml
Reply to
Arnd Bergmann, 2016-08-26
On Fri, Aug 26, 2016 at 05:32:33PM +0200, Arnd Bergmann wrote:
A cleanup patch that removed some code left behind an unused
variable:

drivers/video/fbdev/mb862xx/mb862xx-i2c.c: In function 'mb862xx_i2c_init':
drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: error: unused variable 'ret' [-Werror=unused-variable]

This removes that variable as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6b610e004baf ("video: fbdev: mb862xx: mb862xx-i2c: don't print error when adding adapter fails")
Acked-by: Wolfram Sang <redacted>

Thanks! I already reworked my scripts to detect that better in the
future.

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2016-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help