提交 8d9e9d09 编写于 作者: R Roland Vossen 提交者: Greg Kroah-Hartman

staging: brcm80211: removed compile warning

A warning was generated if CONFIG_BRCMDBG=n. Fixed this by introducing an
function.
Signed-off-by: NRoland Vossen <rvossen@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 aa19d8e9
...@@ -183,10 +183,11 @@ static int wl_ops_start(struct ieee80211_hw *hw) ...@@ -183,10 +183,11 @@ static int wl_ops_start(struct ieee80211_hw *hw)
static void wl_ops_stop(struct ieee80211_hw *hw) static void wl_ops_stop(struct ieee80211_hw *hw)
{ {
#ifdef BRCMDBG
struct wl_info *wl = hw->priv; struct wl_info *wl = hw->priv;
ASSERT(wl); ASSERT(wl);
#endif /*BRCMDBG*/
ieee80211_stop_queues(hw); ieee80211_stop_queues(hw);
return;
} }
static int static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册