diff options
author | Michael Walle <michael@walle.cc> | 2021-02-24 17:40:41 +0100 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-03-05 10:25:42 +0530 |
commit | 108157c468eed8291c866415b8708eb2a8735dc4 (patch) | |
tree | 1a141e3673e0e99f9d80820228647c2233b4dc2a /cmd/read.c | |
parent | e5d7d119287ed1bc867e77225660c1ac9bb51072 (diff) | |
download | u-boot-108157c468eed8291c866415b8708eb2a8735dc4.tar.gz |
net: dsa: remove NULL check for priv and platform data
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@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'cmd/read.c')
0 files changed, 0 insertions, 0 deletions