]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
agp: remove unused variable size in agp_generic_create_gatt_table
authorCorentin Labbe <clabbe@baylibre.com>
Thu, 21 Nov 2019 08:14:41 +0000 (08:14 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Dec 2019 03:31:57 +0000 (13:31 +1000)
commit9fc785f17dec699cfe3891077e7506c92193a91b
tree71728346001e836ba77abe744471fa64ebf53bf6
parent909a60652624b837aff16825197c6a21d84fec82
agp: remove unused variable size in agp_generic_create_gatt_table

This patch fix the following warning:
drivers/char/agp/generic.c:853:6: attention : variable ‘size’ set but not used [-Wunused-but-set-variable]
by removing the unused variable size in agp_generic_create_gatt_table

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1574324085-4338-2-git-send-email-clabbe@baylibre.com
drivers/char/agp/generic.c