diff options
author | Chris Wright <chrisw@sous-sol.org> | 2009-04-24 23:09:31 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 21:14:40 +0200 |
commit | 0ef9ccdd9ec7f2cf28d0605c216d853687f5291d (patch) | |
tree | 0056421d720d214ba49452d481325ce8156109e7 /net/rfkill | |
parent | ar9170: uncomment powermgt case handle (diff) | |
download | linux-0ef9ccdd9ec7f2cf28d0605c216d853687f5291d.tar.xz linux-0ef9ccdd9ec7f2cf28d0605c216d853687f5291d.zip |
cfg80211: remove superfluous !last_request check in reg_device_remove()
Commit 0ad8acaf "cfg80211: fix NULL pointer deference in
reg_device_remove()" added a check that last_request is non-NULL,
rendering the 2nd check superfluous. While there, rearrange the code a
bit so it's a little more straight forward.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions