Skip to content

Commit

Permalink
staging: xgifb: drop XG45 code
Browse files Browse the repository at this point in the history
XG45 is not recognized/supported by the driver.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 18408da commit c38d044
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -1656,17 +1656,6 @@ static int XGIfb_get_dram_size(struct xgifb_video_info *xgifb_info)
ChannelNum = 1;
break;

case XG45:
if (tmp == 1)
ChannelNum = 2;
else if (tmp == 2)
ChannelNum = 3;
else if (tmp == 3)
ChannelNum = 4;
else
ChannelNum = 1;
break;

case XG40:
default:
if (tmp == 2)
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/xgifb/XGIfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ enum xgifb_display_type {
enum XGI_CHIP_TYPE {
XG40 = 32,
XG42,
XG45,
XG20 = 48,
XG21,
XG27,
Expand Down

0 comments on commit c38d044

Please sign in to comment.