Re: [PATCH v2] net: ethernet: ag71xx: Remove dead code
From: Jakub Kicinski
Date: Thu Sep 12 2024 - 20:42:34 EST
On Thu, 12 Sep 2024 17:56:11 +0200 Eric Dumazet wrote:
> On Wed, Sep 11, 2024 at 8:20 PM Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> >
> > Reviewed-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
>
> 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@xxxxxxx/
Right, odd, is there a reason you took over from Qianqiang Liu?
Otherwise I'd prefer if they could send the next version.
Last thing we need is arguments about ownership of trivial
patches.
This v2 has an unnecessary Fixes tag, this is not a fix.