summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-08-24 18:21:52 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-24 14:27:58 -0700
commitb64aa655c2a74716c00f7ee60d86a3d715ba1ca6 (patch)
tree3a42566c1925e9a911e095592b79a3387f522e0d /drivers
parent8145f9febb46a4feb61cd42bdfaecb4c78d787e1 (diff)
downloadlinux-b64aa655c2a74716c00f7ee60d86a3d715ba1ca6.tar.bz2
staging: xgifb: delete an empty string
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/xgifb/XGI_main.h1
-rw-r--r--drivers/staging/xgifb/XGI_main_26.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h
index af95ad71d0f2..59f741136cfc 100644
--- a/drivers/staging/xgifb/XGI_main.h
+++ b/drivers/staging/xgifb/XGI_main.h
@@ -163,7 +163,6 @@ static struct fb_fix_screeninfo XGIfb_fix = {
.xpanstep = 1,
.ypanstep = 1,
};
-static char myid[20];
static u32 pseudo_palette[17];
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 922acbc52ed6..7b36b7ea4640 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -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;