]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: xgifb: Remove #ifdef MODULE
authorMiguel Gómez <magomez@igalia.com>
Wed, 6 Jun 2012 14:22:04 +0000 (16:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 00:02:11 +0000 (17:02 -0700)
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>
drivers/staging/xgifb/XGI_main_26.c

index 85dbf32b1f6625866c131d543f72f178b03100b1..61dc7cb94ffbd75ad1fc541f23799502901a6ed2 100644 (file)
@@ -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  */