diff options
author | Dan Carpenter | 2010-05-22 22:33:11 +0200 |
---|---|---|
committer | John W. Linville | 2010-06-02 22:13:33 +0200 |
commit | 43163f0f8a11822607c36249c6f55f0613e0d73d (patch) | |
tree | 0e4a7f467d2722ea50942bb19dc45353a91bb2b7 /drivers/net/wireless/wl12xx/wl1271_cmd.c | |
parent | drivers/net/wireless/prism54: Use memdup_user (diff) | |
download | kernel-qcow2-linux-43163f0f8a11822607c36249c6f55f0613e0d73d.tar.gz kernel-qcow2-linux-43163f0f8a11822607c36249c6f55f0613e0d73d.tar.xz kernel-qcow2-linux-43163f0f8a11822607c36249c6f55f0613e0d73d.zip |
ath9k: cleanup: remove unneeded null check
We dereference "wmi" on the line before and also when we initialize "ah".
This check has always been after a dereference since the first commit a
couple months ago. Looking through the code, it looks like "wmi" can't
actually be null here so I just removed the check.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.c')
0 files changed, 0 insertions, 0 deletions