summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Gómez <magomez@igalia.com>2012-06-06 16:22:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-11 17:02:11 -0700
commitf059077388b0c35cd47ee06ba5da3401a62dc657 (patch)
tree382c6c1179dd63e22207b2eb65fa403a29a3a35c
parentcbdfaffc461fd3df12f494655aca5cae68d6c7aa (diff)
downloadop-kernel-dev-f059077388b0c35cd47ee06ba5da3401a62dc657.zip
op-kernel-dev-f059077388b0c35cd47ee06ba5da3401a62dc657.tar.gz
Staging: xgifb: Remove #ifdef MODULE
Check for MODULE is not needed. In a static compilation the parameters definition is valid and module_exit() does nothing. Signed-off-by: Miguel Gómez <magomez@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/xgifb/XGI_main_26.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 85dbf32..61dc7cb 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -2325,8 +2325,6 @@ module_init(xgifb_init);
/* MODULE */
/*****************************************************/
-#ifdef MODULE
-
MODULE_DESCRIPTION("Z7 Z9 Z9S Z11 framebuffer device driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("XGITECH , Others");
@@ -2359,5 +2357,3 @@ static void __exit xgifb_remove_module(void)
}
module_exit(xgifb_remove_module);
-
-#endif /* /MODULE */
OpenPOWER on IntegriCloud