Staging: rtl8188eu: core: rtw_mlme.c: Remove NULL test before vfree
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 15 Feb 2016 08:58:20 +0000 (14:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:06:51 +0000 (15:06 -0800)
commit64e6619fd3f6c239d5f57f2c88fe9b9291a7e0f2
tree39c69c27f3ec5bb39376c5fbd6200aae33c55b7c
parentbfb7ff2c0bf322a1780e1cf2479ace7a5beb8ab9
Staging: rtl8188eu: core: rtw_mlme.c: Remove NULL test before vfree

The function vfree tests whether the argument is NULL and returns
immediately. So NULL test before vfree is not needed. Also remove braces
around if branch as they are no longer needed.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c