fbdev/atafb: Remove unused extern variables
authorPeilin Ye <yepeilin.cs@gmail.com>
Tue, 27 Oct 2020 16:31:08 +0000 (12:31 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Oct 2020 18:40:11 +0000 (19:40 +0100)
Remove 6 unused extern variables to reduce confusion. It is worth
mentioning that lib/fonts/font_8x8.c and lib/fonts/font_8x16.c also
declare `fontdata_8x8` and `fontdata_8x16` respectively, and this file
has nothing to do with them.

Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/cb5bb49a33ff54fef41e719ee9d301a6a73c5f9c.1603788512.git.yepeilin.cs@gmail.com
Link: https://patchwork.freedesktop.org/patch/msgid/20201028105647.1210161-1-yepeilin.cs@gmail.com
drivers/video/fbdev/atafb.c

index f253daa05d9d3872777077692c51e0aa2d9fbcdb..e3812a8ff55a4fb8546a1683888aa7def9e51b63 100644 (file)
@@ -240,14 +240,6 @@ static int *MV300_reg = MV300_reg_8bit;
 
 static int inverse;
 
-extern int fontheight_8x8;
-extern int fontwidth_8x8;
-extern unsigned char fontdata_8x8[];
-
-extern int fontheight_8x16;
-extern int fontwidth_8x16;
-extern unsigned char fontdata_8x16[];
-
 /*
  * struct fb_ops {
  *     * open/release and usage marking