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

2019-06-11 Thread David Miller
From: Mao Wenan 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 > --- > v2:

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

2019-06-10 Thread Mao Wenan
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 --- v2: don't change parameter from 0 to TP_STATUS_KERNEL when calls