[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1283837309.6302.4.camel@lenovo>
Date: Tue, 07 Sep 2010 01:28:29 -0400
From: Javier Martinez Canillas <martinez.javier@...il.com>
To: Greg Kroah-Hartman <gregkh@...e.de>,
Bill Pemberton <wfp5p@...ginia.edu>,
Arnaud Patard <apatard@...driva.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/1] staging: xgifb: Removes unnecessary log
This patch fixes a compile warning in today linux-next.
The first version of this patch casted XGIFB_GET_INFO to unsigned long, but Greg suggest that I should use %p instead and that the whole message is just looney.
So this patch removes the unnecessary log.
Signed-off-by: Javier Martinez Canillas <martinez.javier@...il.com>
---
drivers/staging/xgifb/XGI_main_26.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 7cd3e95..46e7088 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -3417,13 +3417,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
XGIfb_registered = 1;
- printk(KERN_INFO "XGIfb: Installed XGIFB_GET_INFO ioctl (%lx)\n",
- XGIFB_GET_INFO);
-
-/* printk(KERN_INFO "XGIfb: 2D acceleration is %s, scrolling mode %s\n",
- XGIfb_accel ? "enabled" : "disabled",
- XGIfb_ypan ? "ypan" : "redraw");
-*/
printk(KERN_INFO "fb%d: %s frame buffer device, Version %d.%d.%02d\n",
fb_info->node, myid, VER_MAJOR, VER_MINOR, VER_LEVEL);
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists