diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-14 13:40:36 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-06-14 13:40:36 +0300 |
commit | 484c7bbf2649831714da3a0fa30213977458e9b5 (patch) | |
tree | 16d0ea0706a1f06e106ff3e53e4e9d4a52948d02 /arch/m32r | |
parent | 1235185521ba0d9528052578e27c2f4999d489c6 (diff) | |
download | linux-484c7bbf2649831714da3a0fa30213977458e9b5.tar.xz |
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>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions