[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZSP8hDuWuJg7qUSf@kernel.org>
Date: Mon, 9 Oct 2023 15:13:40 +0200
From: Simon Horman <horms@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Chas Williams <3chas3@...il.com>,
linux-atm-general@...ts.sourceforge.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: fore200e: Drop unnecessary of_match_device()
On Fri, Oct 06, 2023 at 04:44:21PM -0500, Rob Herring wrote:
> It is not necessary to call of_match_device() in probe. If we made it to
> probe, then we've already successfully matched.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
I agree that the check is redundant.
And that with it removed, the forward declaration of fore200e_sba_match
is no longer needed.
Minor nit: I assume the target tree is net-next.
Ideally that would be specified.
Subject: [PATCH net-net] ...
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists