[PATCH -next] video: fbdev: remove set but not used variable 'size'

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Thu Apr 11 15:45:46 UTC 2019


On 03/30/2019 03:26 AM, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/video/fbdev/pvr2fb.c: In function 'pvr2fb_init':
> drivers/video/fbdev/pvr2fb.c:1074:6: warning:
>  variable 'size' set but not used [-Wunused-but-set-variable]
> 
> It's not used since commit 9cd1c6743454 ("pvr2fb: Fix oops when
> pseudo_palette is written")
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>

Patch queued for v5.2 with minor change in the patch summary
("video: fbdev: pvr2fb: remove set but not used variable 'size'"),
thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


More information about the dri-devel mailing list