OSDN Git Service

Staging: rtl8723au: rtw_mlme_ext: Remove unnecessary test expression
authorShivani Bhardwaj <shivanib134@gmail.com>
Wed, 14 Oct 2015 10:19:06 +0000 (15:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:09:59 +0000 (22:09 -0700)
commit5aebea5590295ab35df87cc0c0a19f0d0241f012
tree2100bf00173160e923d43124d5f76d5460b64881
parentad942cb19b416fc64f17871372ee0932878861c0
Staging: rtl8723au: rtw_mlme_ext: Remove unnecessary test expression

Logical and-ing of a struct and its member should be replaced by the
member only as the struct has already been NULL tested before.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c