diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_power.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index 6bf454143459..9576503586c3 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -2357,11 +2357,6 @@ static int __wlan_hdd_cfg80211_get_txpower(struct wiphy *wiphy, return status; } - if (!adapter) { - hdd_err("adapter is NULL"); - return -ENOENT; - } - /* Validate adapter sessionId */ if (wlan_hdd_validate_session_id(adapter->sessionId)) { hdd_err("invalid session id: %d", adapter->sessionId); |
