Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267718
b: refs/heads/master
c: 883dac4
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Aug 24, 2011
1 parent 98f8332 commit 0705e8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f686e9affba24cfdf94fb155aaeb36a1e14719f1
refs/heads/master: 883dac41534b3a16e490be36fb995f17e93bf210
8 changes: 0 additions & 8 deletions trunk/drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ static int XGIfb_userom ;
/*static int XGIfb_useoem = -1; */

/* global flags */
static int XGIfb_registered;
static int XGIfb_tvmode;
static int XGIfb_pdc;
static int enable_dstn;
Expand All @@ -193,13 +192,6 @@ static int XGIfb_crt2type = -1;
/* PR: Tv plug type (for overriding autodetection) */
static int XGIfb_tvplug = -1;

static unsigned char XGIfb_detectedpdc;

static unsigned char XGIfb_detectedlcda = 0xff;




/* TW: For ioctl XGIFB_GET_INFO */
/* XGIfb_info XGIfbinfo; */

Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2046,8 +2046,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
if (XGIfb_off)
return -ENXIO;

XGIfb_registered = 0;

memset(&XGIhw_ext, 0, sizeof(struct xgi_hw_device_info));
fb_info = framebuffer_alloc(sizeof(struct fb_info), &pdev->dev);
if (!fb_info)
Expand Down Expand Up @@ -2307,12 +2305,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
}
}

XGIfb_detectedpdc = 0;

XGIfb_detectedlcda = 0xff;

/* TW: Try to find about LCDA */

if ((XGIhw_ext.ujVBChipID == VB_CHIP_302B) ||
(XGIhw_ext.ujVBChipID == VB_CHIP_301LV) ||
(XGIhw_ext.ujVBChipID == VB_CHIP_302LV)) {
Expand Down Expand Up @@ -2476,8 +2468,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
goto error_1;
}

XGIfb_registered = 1;

printk(KERN_INFO "fb%d: %s frame buffer device, Version %d.%d.%02d\n",
fb_info->node, myid, VER_MAJOR, VER_MINOR, VER_LEVEL);

Expand Down

0 comments on commit 0705e8e

Please sign in to comment.