Re: [PATCH v1 1/3] net: mdio-mux: Delete unnecessary devm_kfree
From: Andrew Lunn
Date: Sat Aug 07 2021 - 10:23:28 EST
On Wed, Aug 04, 2021 at 02:43:30PM -0700, Saravana Kannan wrote:
> The whole point of devm_* APIs is that you don't have to undo them if you
> are returning an error that's going to get propagated out of a probe()
> function. So delete unnecessary devm_kfree() call in the error return path.
>
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew