[PATCH 160/524] Staging: xgifb: remove __KERNEL__ #ifdef in XGIfb.h

Greg Kroah-Hartman gregkh at suse.de
Thu Aug 5 22:19:03 UTC 2010


From: Bill Pemberton <wfp5p at virginia.edu>

The code inside this #ifdef declared a couple extern functions that
weren't used anywhere, so remove the whole #ifdef

Signed-off-by: Bill Pemberton <wfp5p at virginia.edu>
Cc: Arnaud Patard <apatard at mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/xgifb/XGIfb.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/xgifb/XGIfb.h b/drivers/staging/xgifb/XGIfb.h
index 4c29cf0..ef86a64 100644
--- a/drivers/staging/xgifb/XGIfb.h
+++ b/drivers/staging/xgifb/XGIfb.h
@@ -205,9 +205,4 @@ struct video_info{
 
 extern struct video_info xgi_video_info;
 
-#ifdef __KERNEL__
-//extern void xgi_malloc(struct xgi_memreq *req);
-extern void xgi_free(unsigned long base);
-extern void xgi_dispinfo(struct ap_data *rec);
-#endif
 #endif
-- 
1.7.1




More information about the devel mailing list