projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make module loading and unloading much less noisy. I don't believe any of this ifnrom...
[madwifi/.git]
/
ath_rate
/
amrr
/
amrr.c
diff --git
a/ath_rate/amrr/amrr.c
b/ath_rate/amrr/amrr.c
index 725291d53ccfa4c30b5119094d964d134b20b397..f8dae53222fba94d208e1f0a9e5760a2215c5b80 100644
(file)
--- a/
ath_rate/amrr/amrr.c
+++ b/
ath_rate/amrr/amrr.c
@@
-555,8
+555,10
@@
static struct ieee80211_rate_ops ath_rate_ops = {
};
#include "release.h"
};
#include "release.h"
+#if 0
static char *version = "0.1 (" RELEASE_VERSION ")";
static char *dev_info = "ath_rate_amrr";
static char *version = "0.1 (" RELEASE_VERSION ")";
static char *dev_info = "ath_rate_amrr";
+#endif
MODULE_AUTHOR("INRIA, Mathieu Lacage");
MODULE_DESCRIPTION("AMRR Rate control algorithm");
MODULE_AUTHOR("INRIA, Mathieu Lacage");
MODULE_DESCRIPTION("AMRR Rate control algorithm");
@@
-570,10
+572,7
@@
MODULE_LICENSE("Dual BSD/GPL");
static int __init
init_ath_rate_amrr(void)
{
static int __init
init_ath_rate_amrr(void)
{
- int ret;
- printk(KERN_INFO "%s: %s\n", dev_info, version);
-
- ret = ieee80211_rate_register(&ath_rate_ops);
+ int ret = ieee80211_rate_register(&ath_rate_ops);
if (ret)
return ret;
if (ret)
return ret;
@@
-588,7
+587,5
@@
exit_ath_rate_amrr(void)
if (ath_sysctl_header != NULL)
unregister_sysctl_table(ath_sysctl_header);
ieee80211_rate_unregister(&ath_rate_ops);
if (ath_sysctl_header != NULL)
unregister_sysctl_table(ath_sysctl_header);
ieee80211_rate_unregister(&ath_rate_ops);
-
- printk(KERN_INFO "%s: unloaded\n", dev_info);
}
module_exit(exit_ath_rate_amrr);
}
module_exit(exit_ath_rate_amrr);