Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1462093
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] video: fbdev: mb862xx: mb862xx-i2c: delete now unused "int ret" variable |
| Date | 2016-08-14 14:10 +0200 |
| Message-ID | <s62oP-7TC-47@gated-at.bofh.it> (permalink) |
| References | <s5ZTY-63p-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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 <wsa-dev@sang-engineering.com>
> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
Acked-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Thanks! I wonder how this slipped through my and the buildbot checks.
Will investigate...
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] video: fbdev: mb862xx: mb862xx-i2c: delete now unused "int ret" variable Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-14 11:30 +0200 Re: [PATCH] video: fbdev: mb862xx: mb862xx-i2c: delete now unused "int ret" variable Wolfram Sang <wsa@the-dreams.de> - 2016-08-14 14:10 +0200
csiph-web