diff options
author | Sandhya Bankar | 2016-03-06 11:03:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-03-12 07:09:09 +0100 |
commit | 8558ace8b7cf629b7d499e00462e4a8bf212e0e4 (patch) | |
tree | 2aed73ddee5d3424e4ca2abef13589038c7d32f5 /drivers/staging/rtl8712/recv_linux.c | |
parent | staging: rtl8712: Remove the unnecessary parantheses (diff) | |
download | kernel-qcow2-linux-8558ace8b7cf629b7d499e00462e4a8bf212e0e4.tar.gz kernel-qcow2-linux-8558ace8b7cf629b7d499e00462e4a8bf212e0e4.tar.xz kernel-qcow2-linux-8558ace8b7cf629b7d499e00462e4a8bf212e0e4.zip |
Staging: rtl8712: Avoid multiple assignments.
Avoid multiple assignments.This isssue is found by checkpatch.pl script.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/recv_linux.c')
-rw-r--r-- | drivers/staging/rtl8712/recv_linux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c index acceb439f5e1..735a0eadd98c 100644 --- a/drivers/staging/rtl8712/recv_linux.c +++ b/drivers/staging/rtl8712/recv_linux.c @@ -44,7 +44,8 @@ int r8712_os_recv_resource_alloc(struct _adapter *padapter, 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; } |