Skip to content

Commit

Permalink
staging: brcm80211: removed compile warning
Browse files Browse the repository at this point in the history
A warning was generated if CONFIG_BRCMDBG=n. Fixed this by introducing an
function.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Mar 1, 2011
1 parent aa19d8e commit 8d9e9d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,11 @@ static int wl_ops_start(struct ieee80211_hw *hw)

static void wl_ops_stop(struct ieee80211_hw *hw)
{
#ifdef BRCMDBG
struct wl_info *wl = hw->priv;
ASSERT(wl);
#endif /*BRCMDBG*/
ieee80211_stop_queues(hw);
return;
}

static int
Expand Down

0 comments on commit 8d9e9d0

Please sign in to comment.