agp/sworks: Remove unused variable 'current_size'
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 1 Dec 2021 11:46:44 +0000 (12:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 14 Jan 2022 14:15:59 +0000 (15:15 +0100)
commita41af4c80a933831b13cfc166257517abec7ab2f
tree07cb7ee494ac4408489f0c268b07f909d956a93b
parentc4f7f3117e80fd12f898f24630f146316c809189
agp/sworks: Remove unused variable 'current_size'

Fix the compiler warning

  drivers/char/agp/sworks-agp.c: In function 'serverworks_configure':
  drivers/char/agp/sworks-agp.c:265:37: warning: variable 'current_size' set but not used [-Wunused-but-set-variable]
    265 |         struct aper_size_info_lvl2 *current_size;

by removing the variable.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211201114645.15384-7-tzimmermann@suse.de
drivers/char/agp/sworks-agp.c