Messages in this thread | | | Date | Tue, 11 Jun 2019 12:13:50 -0700 (PDT) | Subject | Re: [PATCH -next v2] packet: remove unused variable 'status' in __packet_lookup_frame_in_block | From | David Miller <> |
| |
From: Mao Wenan <maowenan@huawei.com> 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@huawei.com> > --- > v2: don't change parameter from 0 to TP_STATUS_KERNEL when calls > prb_retire_current_block().
Applied.
| |