Commit da077689 authored by Gamze POLAT's avatar Gamze POLAT Committed by Greg Kroah-Hartman

staing: rtl8712: else after return or break warning

This patch fixes checkpatch.pl warning.
WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarGamze POLAT <gamzepolat94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 352e579d
......@@ -517,7 +517,6 @@ static sint validate_recv_data_frame(struct _adapter *adapter,
return _FAIL;
if (psta == NULL)
return _FAIL;
else
precv_frame->u.hdr.psta = psta;
pattrib->amsdu = 0;
/* parsing QC field */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment