lkml.org 
[lkml]   [2019]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next v2] packet: remove unused variable 'status' in __packet_lookup_frame_in_block
From
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.

\
 
 \ /
  Last update: 2019-06-11 21:16    [W:0.040 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site