staging: netlogic: Fix multiple assignments
authorLaura Garcia Liebana <nevola@gmail.com>
Wed, 17 Feb 2016 08:48:47 +0000 (09:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:59:37 +0000 (14:59 -0800)
Avoid the use of multiple assignments in a single line. Checkpatch found
this issue.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/xlr_net.c

index 00b45761187616ec2abc6f9e7a37457fe73a6385..425ac539507c4063de52560d1e8005fa20e20ef8 100644 (file)
@@ -265,7 +265,8 @@ static void xlr_make_tx_desc(struct nlm_fmn_msg *msg, unsigned long addr,
                ((u64)fr_stn_id << 54)  |       /* Free back id */
                (u64)0 << 40            |       /* Set len to 0 */
                ((u64)physkb  & 0xffffffff));   /* 32bit address */
-       msg->msg2 = msg->msg3 = 0;
+       msg->msg2 = 0;
+       msg->msg3 = 0;
 }
 
 static void __maybe_unused xlr_wakeup_queue(unsigned long dev)
This page took 0.025271 seconds and 5 git commands to generate.