]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26e8d1e2e7ede957f5f8737014136a3083664c9b
tree9f1de10a1917fad18e0fdb8d074a1d71176790fe
parent0acc59534fc7ae8bbbbdf1310b2c04a37c002199
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