2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/video/fbdev/via
Arnd Bergmann 484c7bbf26 video: fbdev: via: remove possibly unused variables
When CONFIG_PROC_FS is disabled, we get warnings about unused variables
as remove_proc_entry() evaluates to an empty macro.

drivers/video/fbdev/via/viafbdev.c: In function 'viafb_remove_proc':
drivers/video/fbdev/via/viafbdev.c:1635:4: error: unused variable 'iga2_entry' [-Werror=unused-variable]
drivers/video/fbdev/via/viafbdev.c:1634:4: error: unused variable 'iga1_entry' [-Werror=unused-variable]

These are easy to avoid by using the pointer from the structure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-06-14 12:40:36 +02:00
..
accel.c fbdev: Use IS_ENABLED() instead of checking for built-in or module 2016-05-13 15:14:38 +03:00
accel.h
chip.h
debug.h
dvi.c
dvi.h
global.c
global.h
hw.c
hw.h
ioctl.c
ioctl.h
lcd.c
lcd.h
Makefile
share.h
tblDPASetting.c
tblDPASetting.h
via_aux_ch7301.c
via_aux_edid.c
via_aux_sii164.c
via_aux_vt1621.c
via_aux_vt1622.c
via_aux_vt1625.c
via_aux_vt1631.c
via_aux_vt1632.c
via_aux_vt1636.c
via_aux.c
via_aux.h
via_clock.c fbdev: via/via_clock: fix sparse warning 2015-03-02 13:17:25 +02:00
via_clock.h
via_i2c.c
via_modesetting.c
via_modesetting.h
via_utility.c
via_utility.h
via-core.c fbdev: Use IS_ENABLED() instead of checking for built-in or module 2016-05-13 15:14:38 +03:00
via-gpio.c video: fbdev: via: use gpiochip data pointer 2016-01-07 00:02:34 +01:00
viafbdev.c video: fbdev: via: remove possibly unused variables 2017-06-14 12:40:36 +02:00
viafbdev.h
viamode.c
viamode.h
vt1636.c
vt1636.h