Re: [PATCH -next v2] packet: remove unused variable 'status' in __packet_lookup_frame_in_block

From: David Miller
Date: Tue Jun 11 2019 - 15:18:24 EST


From: Mao Wenan <maowenan@xxxxxxxxxx>
Date: Tue, 11 Jun 2019 09:32:13 +0800

> The variable 'status' in __packet_lookup_frame_in_block() is never used since
> introduction in commit f6fb8f100b80 ("af-packet: TPACKET_V3 flexible buffer
> implementation."), we can remove it.
>
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
> ---
> v2: don't change parameter from 0 to TP_STATUS_KERNEL when calls
> prb_retire_current_block().

Applied.