Skip to content
Snippets Groups Projects
Commit 0ef9ccdd authored by Chris Wright's avatar Chris Wright Committed by John W. Linville
Browse files

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: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2cfb1f5e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment