summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2009-04-24 14:09:31 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-05-06 15:14:40 -0400
commit0ef9ccdd9ec7f2cf28d0605c216d853687f5291d (patch)
tree0056421d720d214ba49452d481325ce8156109e7 /net/rfkill
parent2cfb1f5e20f260e6ff306ba181efee956ba48f54 (diff)
downloadop-kernel-dev-0ef9ccdd9ec7f2cf28d0605c216d853687f5291d.zip
op-kernel-dev-0ef9ccdd9ec7f2cf28d0605c216d853687f5291d.tar.gz
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
OpenPOWER on IntegriCloud