mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
539b4f72d0
commit
def2d8b069
1 changed files with 0 additions and 3 deletions
|
@ -2045,9 +2045,6 @@ static void rtl8192_qos_activate(struct work_struct *work)
|
|||
u32 u4bAcParam;
|
||||
int i;
|
||||
|
||||
if (priv == NULL)
|
||||
return;
|
||||
|
||||
mutex_lock(&priv->mutex);
|
||||
if (priv->ieee80211->state != IEEE80211_LINKED)
|
||||
goto success;
|
||||
|
|
Loading…
Reference in a new issue