projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91cc53b
)
Staging: batman-adv: send.c: Checkpatch cleanup
author
Andrea Gelmini
<andrea.gelmini@gelma.net>
Sun, 28 Feb 2010 23:28:55 +0000
(
00:28
+0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:35:31 +0000
(11:35 -0700)
drivers/staging/batman-adv/send.c:137: CHECK: multiple assignments should be avoided
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/send.c
patch
|
blob
|
history
diff --git
a/drivers/staging/batman-adv/send.c
b/drivers/staging/batman-adv/send.c
index
2a9fac8
..
ff7b1f1
100644
(file)
--- a/
drivers/staging/batman-adv/send.c
+++ b/
drivers/staging/batman-adv/send.c
@@
-134,7
+134,8
@@
static void send_packet_to_if(struct forw_packet *forw_packet,
if (batman_if->if_active != IF_ACTIVE)
return;
- packet_num = buff_pos = 0;
+ packet_num = 0;
+ buff_pos = 0;
batman_packet = (struct batman_packet *)
(forw_packet->packet_buff);