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

Vladimir Oltean olteanv at gmail.com
Wed Feb 24 23:23:20 CET 2021


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>


More information about the U-Boot mailing list