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: Gamze POLAT <gamzepolat94@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
352e579da8
commit
da07768909
1 changed files with 1 additions and 2 deletions
|
@ -517,8 +517,7 @@ static sint validate_recv_data_frame(struct _adapter *adapter,
|
|||
return _FAIL;
|
||||
if (psta == NULL)
|
||||
return _FAIL;
|
||||
else
|
||||
precv_frame->u.hdr.psta = psta;
|
||||
precv_frame->u.hdr.psta = psta;
|
||||
pattrib->amsdu = 0;
|
||||
/* parsing QC field */
|
||||
if (pattrib->qos == 1) {
|
||||
|
|
Loading…
Reference in a new issue