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

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Thu Apr 11 17:23:36 UTC 2019


On 04/03/2019 10:20 AM, Nicolas.Ferre at microchip.com wrote:
> On 03/04/2019 at 09:24, YueHaibing wrote:
>> External E-Mail
>>
>>
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/video/fbdev/atmel_lcdfb.c: In function 'atmel_lcdfb_remove':
>> drivers/video/fbdev/atmel_lcdfb.c:1255:28: warning:
>>   variable 'pdata' set but not used [-Wunused-but-set-variable]
>>
>> It's not used since commit 42110e91de7f ("video: atmel_lcdfb: introduce
>> atmel_lcdfb_power_control")
>>
>> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> 
> Indeed:
> Acked-by: Nicolas Ferre <nicolas.ferre at microchip.com>

Patch queued for v5.2, thanks.

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


More information about the dri-devel mailing list