wireless: remove unreachable code
authorAlan Cox <alan@linux.intel.com>
Mon, 17 Sep 2012 10:54:15 +0000 (11:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Sep 2012 17:54:05 +0000 (19:54 +0200)
commitf3baed51f44dd6b6c7076d2de24d8aed291d8130
tree9f1de10a1917fad18e0fdb8d074a1d71176790fe
parent9385d04f2872057a2029901190391fe192b18693
wireless: remove unreachable code

The only case where intersected_rd can become non NULL is within an if. All
paths from that if return, so the end chunk has therefore squawked its
last and is no more.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c