mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
vga16fb: Remove unused variable
Fix build warning of unused variable: drivers/video/vga16fb.c:1268:26: warning: unused variable ‘dev’ [-Wunused-variable] Signed-off-by: Luis Henriques<luis.henriques@canonical.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
bf265c848f
commit
f64279c8a3
1 changed files with 0 additions and 1 deletions
|
@ -1265,7 +1265,6 @@ static void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image
|
|||
|
||||
static void vga16fb_destroy(struct fb_info *info)
|
||||
{
|
||||
struct platform_device *dev = container_of(info->device, struct platform_device, dev);
|
||||
iounmap(info->screen_base);
|
||||
fb_dealloc_cmap(&info->cmap);
|
||||
/* XXX unshare VGA regions */
|
||||
|
|
Loading…
Reference in a new issue