net/i40e: remove redundant statement and braces
authorYong Wang <wang.yong19@zte.com.cn>
Mon, 9 Jan 2017 13:48:52 +0000 (08:48 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:42 +0000 (19:41 +0100)
commit4ce5a5d2f1a9cc73e6f545cd3df4f94f8bb76872
tree31a1232bdc77df415186cf698ce5d92c20e0053b
parent65600813884cf018358dc09c032c78f8f5f5a83b
net/i40e: remove redundant statement and braces

In function "reassemble_packets()", the statement "end = secondlast;"
is redundant since there is another assignment "start = end = NULL;"
3 lines below. BTW, I removed the redundant braces in the conditional
statement "if (end->data_len > rxq->crc_len)".

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_rxtx_vec_common.h