Thread (2 messages) 2 messages, 2 authors, 2016-08-14

Re: [PATCH] video: fbdev: mb862xx: mb862xx-i2c: delete now unused "int ret" variable

flat view

From: Wolfram Sang <hidden>
Date: 2016-08-14 12:02:04
Also in: lkml

On Sat, Aug 13, 2016 at 02:39:13PM -0400, Paul Gortmaker wrote:
In commit 6b610e004baf ("video: fbdev: mb862xx: mb862xx-i2c: don't
print error when adding adapter fails") the users of the variable
were removed, resulting in:

drivers/video/fbdev/mb862xx/mb862xx-i2c.c: In function ‘mb862xx_i2c_init’:
drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: warning: unused variable ‘ret’ [-Wunused-variable]
  int ret;
      ^

...so here we remove the variable as well.

Fixes: 6b610e004baf ("video: fbdev: mb862xx: mb862xx-i2c: don't print error when adding adapter fails)"
Cc: Wolfram Sang <redacted>
Cc: Tomi Valkeinen <redacted>
Signed-off-by: Paul Gortmaker <redacted>
---
Acked-by: Wolfram Sang <redacted>

Thanks! I wonder how this slipped through my and the buildbot checks.
Will investigate...

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help