Skip to content
Commit 1ee7826a authored by Aditya Pakki's avatar Aditya Pakki Committed by Johannes Berg
Browse files

mac80211: Remove redundant assertion



In wiphy_to_ieee80211_hw, the assertion to check if wiphy is NULL is
repeated in wiphy_priv. The patch removes the duplicated BUG_ON check.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Link: https://lore.kernel.org/r/20191215152348.20912-1-pakki001@umn.edu


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 50ff477a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment