commit | 0ef9ccdd9ec7f2cf28d0605c216d853687f5291d | [log] [tgz] |
---|---|---|
author | Chris Wright <chrisw@sous-sol.org> | Fri Apr 24 14:09:31 2009 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed May 06 15:14:40 2009 -0400 |
tree | 0056421d720d214ba49452d481325ce8156109e7 | |
parent | 2cfb1f5e20f260e6ff306ba181efee956ba48f54 [diff] |
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>