video: fbdev: atmel_lcdfb: remove set but not used variable 'pdata'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 11 Apr 2019 17:25:12 +0000 (19:25 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 11 Apr 2019 17:25:12 +0000 (19:25 +0200)
commit261ac4ddfa9f128b41665abaf8e0e10a8f9e6b33
treeb127bdc44685245aa4d1770eb210e73a90abb15b
parentde110fddcb2251c2a3a0dbe32d3d60800e775a88
video: fbdev: atmel_lcdfb: remove set but not used variable 'pdata'

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@huawei.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/atmel_lcdfb.c