diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-01-21 00:57:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 22:00:10 (GMT) |
commit | cdbbc618f8f483d72e82af05f2873621cc9c2314 (patch) | |
tree | 132a4f643e7c032b15627a4b76beb4399a8ad74d /drivers/staging/xgifb/vb_init.c | |
parent | b8e1cc5c8dec9df1b70ca8ec4f081dc31ef69667 (diff) | |
download | linux-fsl-qoriq-cdbbc618f8f483d72e82af05f2873621cc9c2314.tar.xz |
staging: xgifb: delete pVBInfo->BaseAddr
Delete redundant field.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_init.c')
-rw-r--r-- | drivers/staging/xgifb/vb_init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 3115415..dd34570 100644 --- a/drivers/staging/xgifb/vb_init.c +++ b/drivers/staging/xgifb/vb_init.c @@ -1286,16 +1286,10 @@ unsigned char XGIInitNew(struct pci_dev *pdev) pVBInfo->FBAddr = HwDeviceExtension->pjVideoMemoryAddress; - pVBInfo->BaseAddr = xgifb_info->vga_base; - if (pVBInfo->FBAddr == NULL) { dev_dbg(&pdev->dev, "pVBInfo->FBAddr == 0\n"); return 0; } - if (pVBInfo->BaseAddr == 0) { - dev_dbg(&pdev->dev, "pVBInfo->BaseAddr == 0\n"); - return 0; - } XGIRegInit(pVBInfo, xgifb_info->vga_base); |