[dpdk-dev] [PATCH] net/i40e: remove redundant statement and braces
ferruh.yigit at intel.com
Mon Jan 9 14:31:52 CET 2017
On 1/9/2017 1:30 PM, Ferruh Yigit wrote:
> On 1/9/2017 1:48 PM, Yong Wang wrote:
>> 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 at zte.com.cn>
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev