mirror of https://gitee.com/openkylin/linux.git
484c7bbf26
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> |
||
---|---|---|
.. | ||
Makefile | ||
accel.c | ||
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 | ||
share.h | ||
tblDPASetting.c | ||
tblDPASetting.h | ||
via-core.c | ||
via-gpio.c | ||
via_aux.c | ||
via_aux.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_clock.c | ||
via_clock.h | ||
via_i2c.c | ||
via_modesetting.c | ||
via_modesetting.h | ||
via_utility.c | ||
via_utility.h | ||
viafbdev.c | ||
viafbdev.h | ||
viamode.c | ||
viamode.h | ||
vt1636.c | ||
vt1636.h |