From: Bill Pemberton Date: Thu, 17 Jun 2010 17:10:55 +0000 (-0400) Subject: Staging: xgifb: remove __KERNEL__ #ifdef in XGIfb.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a9253883a6d34fd5087ebc461e862613f38d72ec;p=linux-beck.git Staging: xgifb: remove __KERNEL__ #ifdef in XGIfb.h 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 Cc: Arnaud Patard Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGIfb.h b/drivers/staging/xgifb/XGIfb.h index 4c29cf043741..ef86a64d6996 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