[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+xYSEw0OX_33=+R0uTPCRgH+kWMEVsjh=ec2ZHMPsKEw@mail.gmail.com>
Date: Thu, 12 Sep 2024 17:56:11 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>, Qianqiang Liu <qianqiang.liu@....com>
Cc: Muhammad Usama Anjum <usama.anjum@...labora.com>, Chris Snook <chris.snook@...il.com>,
"David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew@...n.ch>, kernel@...labora.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: ethernet: ag71xx: Remove dead code
On Wed, Sep 11, 2024 at 8:20 PM Oleksij Rempel <o.rempel@...gutronix.de> wrote:
>
> On Wed, Sep 11, 2024 at 06:58:27PM +0500, Muhammad Usama Anjum wrote:
> > The err variable isn't being used anywhere other than getting
> > initialized to 0 and then it is being checked in if condition. The
> > condition can never be true. Remove the err and deadcode.
> >
> > Move the rx_dropped counter above when skb isn't found.
> >
> > Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver")
> > Signed-off-by: Muhammad Usama Anjum <usama.anjum@...labora.com>
>
> Reviewed-by: Oleksij Rempel <o.rempel@...gutronix.de>
>
> Thank you!
>
> Regards,
> Oleksij
I do not see any credits given to Qianqiang Liu, who is desperate to get his
first linux patch...
https://lore.kernel.org/netdev/20240910152254.21238-1-qianqiang.liu@163.com/
Powered by blists - more mailing lists