staging: rtl8192e: Remove if conditions.
authorNavya Sri Nizamkari <navyasri.tech@gmail.com>
Wed, 4 Mar 2015 08:45:05 +0000 (14:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 23:30:07 +0000 (15:30 -0800)
commita568dc1f3779c9fde5a58bf793574ecd7024090a
tree95b722a0196f5a0e368a06552cd56fe044fa9707
parent3bd52fb13a56a9dbe7780480d0c66a5b8e450743
staging: rtl8192e: Remove if conditions.

This patch removes if conditions with no exececutable
statements in the bodies of those ifs and also no variable
assignments in the if conditional checks. The call to
rtllib_act_scanning in the condition doesn't have any side
effects as it too performs conditional checks without changing
any values. Hence, it's safe to remove the if condition.

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c