Skip to content

Commit

Permalink
Staging: batman-adv: send.c: Checkpatch cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrea Gelmini authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 91cc53b commit 46712df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/batman-adv/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 46712df

Please sign in to comment.