From: Chris Wright Date: Fri, 24 Apr 2009 21:09:31 +0000 (-0700) Subject: cfg80211: remove superfluous !last_request check in reg_device_remove() X-Git-Tag: v2.6.31-rc1~330^2~448^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ef9ccdd9ec7f2cf28d0605c216d853687f5291d;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed