Commit def2d8b0 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Greg Kroah-Hartman

staging: rtl8192u: r8192U_core.c: Fix to remove null pointer checks that could never happen

Removal of null pointer checks that could never happen
Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 539b4f72
...@@ -2045,9 +2045,6 @@ static void rtl8192_qos_activate(struct work_struct *work) ...@@ -2045,9 +2045,6 @@ static void rtl8192_qos_activate(struct work_struct *work)
u32 u4bAcParam; u32 u4bAcParam;
int i; int i;
if (priv == NULL)
return;
mutex_lock(&priv->mutex); mutex_lock(&priv->mutex);
if (priv->ieee80211->state != IEEE80211_LINKED) if (priv->ieee80211->state != IEEE80211_LINKED)
goto success; goto success;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment