diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-12 18:28:10 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-07-12 18:28:10 +0200 |
commit | fa43bc2a5a041c8935c1f6f5f8ab2d57efdd9644 (patch) | |
tree | af84848008d16ea1406d6dbd02488955fea06a09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 360772f26407b759ec3a91dda81fdbc74b7f7f2c (diff) |
atyfb: hide unused variable
The vdisplay variable is now only accessed inside of an #ifdef, producing
a harmless warning:
drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_var_to_crtc':
drivers/video/fbdev/aty/atyfb_base.c:805:19: error: unused variable 'vdisplay' [-Werror=unused-variable]
This moves the declaration into the ifdef as well.
Fixes: dd7d958ae912 ("video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions