From: Aaro Koskinen Date: Wed, 24 Aug 2011 15:21:51 +0000 (+0300) Subject: staging: xgifb: delete driver version information X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~118 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8145f9febb46a4feb61cd42bdfaecb4c78d787e1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: xgifb: delete driver version information Delete version information, it's just noise and serves no purpose. Signed-off-by: Aaro Koskinen Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index a0c2bdb4f86d..af95ad71d0f2 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -11,10 +11,6 @@ #define XGIFAIL(x) do { printk(x "\n"); return -EINVAL; } while (0) -#define VER_MAJOR 0 -#define VER_MINOR 8 -#define VER_LEVEL 1 - #ifndef PCI_VENDOR_ID_XG #define PCI_VENDOR_ID_XG 0x18CA #endif diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 847d246ef6fa..922acbc52ed6 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -2468,9 +2468,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev, goto error_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); - dumpVGAReg(); return 0;