From: Andrea Gelmini Date: Sun, 28 Feb 2010 23:28:55 +0000 (+0100) Subject: Staging: batman-adv: send.c: Checkpatch cleanup X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~562 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46712df6c705d2b6e4189c94b94209847e4931ab;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: batman-adv: send.c: Checkpatch cleanup drivers/staging/batman-adv/send.c:137: CHECK: multiple assignments should be avoided Signed-off-by: Andrea Gelmini Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/batman-adv/send.c b/drivers/staging/batman-adv/send.c index 2a9fac8c240e..ff7b1f10684f 100644 --- 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);