Commit 8558ace8 authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman

Staging: rtl8712: Avoid multiple assignments.

Avoid multiple assignments.This isssue is found by checkpatch.pl script.
Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d1b7e87
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
int r8712_os_recv_resource_alloc(struct _adapter *padapter, int r8712_os_recv_resource_alloc(struct _adapter *padapter,
union recv_frame *precvframe) union recv_frame *precvframe)
{ {
precvframe->u.hdr.pkt_newalloc = precvframe->u.hdr.pkt = NULL; precvframe->u.hdr.pkt_newalloc = NULL;
precvframe->u.hdr.pkt = NULL;
return _SUCCESS; return _SUCCESS;
} }
......
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