projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d7d969
)
iwmc3200wifi: fix busted iwm_debugfs_init definition
author
John W. Linville
<
[email protected]
>
Mon, 3 May 2010 20:12:39 +0000
(16:12 -0400)
committer
John W. Linville
<
[email protected]
>
Mon, 3 May 2010 20:21:10 +0000
(16:21 -0400)
Looks like we missed removing the return statement in the non-CONFIG_IWM_DEBUG
dummy implementation of iwm_debugfs_init...
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/iwmc3200wifi/debug.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwmc3200wifi/debug.h
b/drivers/net/wireless/iwmc3200wifi/debug.h
index f98bf125a8ae544f95d2416a8db45556172fe7cc..a0c13a49ab3ca095be4a042963fb52776bcce1f7 100644
(file)
--- a/
drivers/net/wireless/iwmc3200wifi/debug.h
+++ b/
drivers/net/wireless/iwmc3200wifi/debug.h
@@
-116,10
+116,7
@@
struct iwm_debugfs {
void iwm_debugfs_init(struct iwm_priv *iwm);
void iwm_debugfs_exit(struct iwm_priv *iwm);
#else
-static inline void iwm_debugfs_init(struct iwm_priv *iwm)
-{
- return 0;
-}
+static inline void iwm_debugfs_init(struct iwm_priv *iwm) {}
static inline void iwm_debugfs_exit(struct iwm_priv *iwm) {}
#endif