Skip to content

Commit

Permalink
staging: xgifb: delete an empty string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Aug 24, 2011
1 parent 8145f9f commit b64aa65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ static struct fb_fix_screeninfo XGIfb_fix = {
.xpanstep = 1,
.ypanstep = 1,
};
static char myid[20];
static u32 pseudo_palette[17];


Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b64aa65

Please sign in to comment.