staging: ks7010: Remove unnecessary null check
authorAymen Qader <qader.aymen@gmail.com>
Sun, 30 Sep 2018 08:34:21 +0000 (09:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:19:19 +0000 (15:19 -0700)
commite7f8f1df634c093e00a2611230b83150c81b0049
tree4c018c0e2282a1ea001a05c923d41474497fb835
parent956666342a31dabb6b39e8fbbd9780d49ed2af13
staging: ks7010: Remove unnecessary null check

Remove the unnecessary socket buffer null check in hostif_data_request.
There is already an appropriate null check in the calling function:

(ks_wlan_net.c) ks_wlan_start_xmit

Signed-off-by: Aymen Qader <qader.aymen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c