ath9k: add some cleanups and minor fixes
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 003-remove_bogus_modparams.patch
1 --- a/compat/main.c
2 +++ b/compat/main.c
3 @@ -21,31 +21,6 @@ MODULE_LICENSE("GPL");
4 #error "You need a BACKPORTS_VERSION"
5 #endif
6
7 -static char *backported_kernel_name = BACKPORTED_KERNEL_NAME;
8 -
9 -module_param(backported_kernel_name, charp, 0400);
10 -MODULE_PARM_DESC(backported_kernel_name,
11 - "The kernel tree name that was used for this backport (" BACKPORTED_KERNEL_NAME ")");
12 -
13 -#ifdef BACKPORTS_GIT_TRACKED
14 -static char *backports_tracker_id = BACKPORTS_GIT_TRACKED;
15 -module_param(backports_tracker_id, charp, 0400);
16 -MODULE_PARM_DESC(backports_tracker_id,
17 - "The version of the tree containing this backport (" BACKPORTS_GIT_TRACKED ")");
18 -#else
19 -static char *backported_kernel_version = BACKPORTED_KERNEL_VERSION;
20 -static char *backports_version = BACKPORTS_VERSION;
21 -
22 -module_param(backported_kernel_version, charp, 0400);
23 -MODULE_PARM_DESC(backported_kernel_version,
24 - "The kernel version that was used for this backport (" BACKPORTED_KERNEL_VERSION ")");
25 -
26 -module_param(backports_version, charp, 0400);
27 -MODULE_PARM_DESC(backports_version,
28 - "The git version of the backports tree used to generate this backport (" BACKPORTS_VERSION ")");
29 -
30 -#endif
31 -
32 void backport_dependency_symbol(void)
33 {
34 }