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
..
2017-01-30 17:39:49 +01:00
2017-05-11 11:12:26 -07:00
2017-02-25 13:20:22 -08:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2016-05-27 15:26:11 -07:00
2015-10-08 12:19:39 +03:00
2017-04-21 16:47:11 +02:00
2017-05-05 17:25:12 +02:00
2015-11-10 10:00:09 -08:00
2016-09-07 12:06:53 +03:00
2017-05-11 11:12:26 -07:00