staging: xgifb: delete an empty string
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 24 Aug 2011 15:21:52 +0000 (18:21 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 24 Aug 2011 21:27:58 +0000 (14:27 -0700)
Delete a string which is always empty.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main.h
drivers/staging/xgifb/XGI_main_26.c

index af95ad71d0f262c331412215d6ea6ce62493171a..59f741136cfc3b5f909a86cdc55e6ccfaa10cc96 100644 (file)
@@ -163,7 +163,6 @@ static struct fb_fix_screeninfo XGIfb_fix = {
        .xpanstep       = 1,
        .ypanstep       = 1,
 };
-static char myid[20];
 static u32 pseudo_palette[17];
 
 
index 922acbc52ed6c7c28aa4fedd3a374be64dd7cb62..7b36b7ea4640c99b976950f8e1244747ecc5c87d 100644 (file)
@@ -1481,8 +1481,6 @@ static int XGIfb_get_fix(struct fb_fix_screeninfo *fix, int con,
        DEBUGPRN("inside get_fix");
        memset(fix, 0, sizeof(struct fb_fix_screeninfo));
 
-       strcpy(fix->id, myid);
-
        fix->smem_start = xgi_video_info.video_base;
 
        fix->smem_len = xgi_video_info.video_size;