Skip to content

Commit

Permalink
Staging: xgifb: Remove #ifdef MODULE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miguel Gómez authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent cbdfaff commit f059077
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -2359,5 +2357,3 @@ static void __exit xgifb_remove_module(void)
}

module_exit(xgifb_remove_module);

#endif /* /MODULE */

0 comments on commit f059077

Please sign in to comment.