lkml.org 
[lkml]   [2020]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH net-next] net: ena: remove set but not used variable 'rx_ring'
    From
    Date
    On 2020/2/18 13:53, David Miller wrote:
    > From: YueHaibing <yuehaibing@huawei.com>
    > Date: Tue, 18 Feb 2020 09:59:51 +0800
    >
    >> drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ena_xdp_xmit_buff:
    >> drivers/net/ethernet/amazon/ena/ena_netdev.c:316:19: warning:
    >> variable rx_ring set but not used [-Wunused-but-set-variable]
    >>
    >> commit 548c4940b9f1 ("net: ena: Implement XDP_TX action")
    >> left behind this unused variable.
    >>
    >> Reported-by: Hulk Robot <hulkci@huawei.com>
    >> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
    >
    > This does not apply cleanly to net-next, please respin.

    Sorry, this is a duplicate, my bad.
    >
    > .
    >

    \
     
     \ /
      Last update: 2020-02-18 07:20    [W:8.526 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site