提交 46712df6 编写于 作者: A Andrea Gelmini 提交者: Greg Kroah-Hartman

Staging: batman-adv: send.c: Checkpatch cleanup

drivers/staging/batman-adv/send.c:137: CHECK: multiple assignments should be avoided
Signed-off-by: NAndrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 91cc53b0
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册