[PATCH 3/4] net: dsa: remove NULL check for priv and platform data

Ramon Fried rfried.dev at gmail.com
Thu Feb 25 20:14:30 CET 2021


On Thu, Feb 25, 2021 at 12:23 AM Vladimir Oltean <olteanv at gmail.com> wrote:
>
> On Wed, Feb 24, 2021 at 05:40:41PM +0100, Michael Walle wrote:
> > Because the uclass has the "*_auto" properties set, the driver model
> > will take care of allocating the private structures for us and they
> > can't be NULL. Drop the checks.
> >
> > Signed-off-by: Michael Walle <michael at walle.cc>
> > ---
>
> Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>
Reviewed-By: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list