diff options
author | Aaro Koskinen | 2011-10-11 20:47:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-10-12 17:51:46 +0200 |
commit | 6928c18ee5978ed53ea7a70386b3754f8dd0a8b9 (patch) | |
tree | 5af5e94dca9496ecf7cbc775274a2cbb2f811d83 /drivers/staging/xgifb/XGI_main.h | |
parent | staging: xgifb: dynamically allocate xgifb_video_info (diff) | |
download | kernel-qcow2-linux-6928c18ee5978ed53ea7a70386b3754f8dd0a8b9.tar.gz kernel-qcow2-linux-6928c18ee5978ed53ea7a70386b3754f8dd0a8b9.tar.xz kernel-qcow2-linux-6928c18ee5978ed53ea7a70386b3754f8dd0a8b9.zip |
staging: xgifb: eliminate XGIfb_mode_no
We can get the information from the table with mode index.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main.h')
-rw-r--r-- | drivers/staging/xgifb/XGI_main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index d423823ca6c6..ec288a41e219 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -354,7 +354,6 @@ static struct _XGIbios_mode { /* mode-related variables */ static int xgifb_mode_idx = -1; -static u8 XGIfb_mode_no; static u8 XGIfb_rate_idx; /* TW: CR36 evaluation */ |