staging: rtl8723au: multiple condition with no effect - if identical to else
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 3 Feb 2015 13:08:16 +0000 (08:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:34:58 +0000 (17:34 +0800)
commitceb2f735e826a410ba507948cf2a2b9d1f565181
treed3a5e6a0ca7d469415b0c097366ce0d142adbfc6
parent11862b36ce380211362a4845e479c8d7d220ce8c
staging: rtl8723au: multiple condition with no effect - if identical to else

A number if/else if/else branches are identical - so the condition has no
effect on the effective code and can be significantly simplified - this
patch removes the condition and the duplicated code.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c