aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vgatypes.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-05-18 12:55:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-18 10:03:31 -0700
commitbb7e5ed497f8fdf399d582f0fd4af4ef7d752d77 (patch)
treee21703cc17a3b887075d246d850e022c082838d3 /drivers/staging/xgifb/vgatypes.h
parentstaging: vt6656: Remove always true bUpdateBBVGA (diff)
downloadlinux-dev-bb7e5ed497f8fdf399d582f0fd4af4ef7d752d77.tar.xz
linux-dev-bb7e5ed497f8fdf399d582f0fd4af4ef7d752d77.zip
staging: xgifb: Eliminate useless ifndefs
XGI_VB_CHIP_TYPE, PCI_DEVICE_ID_XGI_42 and PCI_DEVICE_ID_XGI_27 are never defined. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vgatypes.h')
-rw-r--r--drivers/staging/xgifb/vgatypes.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h
index 264351441f99..61fa10fd470f 100644
--- a/drivers/staging/xgifb/vgatypes.h
+++ b/drivers/staging/xgifb/vgatypes.h
@@ -5,7 +5,6 @@
#include "../../video/fbdev/sis/vgatypes.h"
#include "../../video/fbdev/sis/sis.h" /* for LCD_TYPE */
-#ifndef XGI_VB_CHIP_TYPE
enum XGI_VB_CHIP_TYPE {
VB_CHIP_Legacy = 0,
VB_CHIP_301,
@@ -19,7 +18,6 @@ enum XGI_VB_CHIP_TYPE {
VB_CHIP_UNKNOWN, /* other video bridge or no video bridge */
MAX_VB_CHIP
};
-#endif
struct xgi_hw_device_info {
unsigned long ulExternalChip; /* NO VB or other video bridge*/