summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-10-08 12:57:37 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-08 12:57:37 +0200
commitb19f682e4abb728bcb5ab4468288b26d1b70b774 (patch)
treeefa7605b8fb7bd6fec2a14d944eb2deba50fc7b4 /drivers/video
parent9827f26374fb85e1811f2adbcc25c8a3992dbe7f (diff)
downloadlwn-b19f682e4abb728bcb5ab4468288b26d1b70b774.tar.gz
lwn-b19f682e4abb728bcb5ab4468288b26d1b70b774.zip
pxa168fb: remove set but not used variables 'mi'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/video/fbdev/pxa168fb.c: In function 'pxa168fb_set_par': drivers/video/fbdev/pxa168fb.c:408:29: warning: variable 'mi' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing <yuehaibing@huawei.com> Cc: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/pxa168fb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c
index d059d04c63ac..e31340fad3c7 100644
--- a/drivers/video/fbdev/pxa168fb.c
+++ b/drivers/video/fbdev/pxa168fb.c
@@ -405,9 +405,6 @@ static int pxa168fb_set_par(struct fb_info *info)
struct fb_var_screeninfo *var = &info->var;
struct fb_videomode mode;
u32 x;
- struct pxa168fb_mach_info *mi;
-
- mi = dev_get_platdata(fbi->dev);
/*
* Set additional mode info.