summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2021-02-24 17:40:41 +0100
committerPriyanka Jain <[email protected]>2021-03-05 10:25:42 +0530
commit108157c468eed8291c866415b8708eb2a8735dc4 (patch)
tree1a141e3673e0e99f9d80820228647c2233b4dc2a /include
parente5d7d119287ed1bc867e77225660c1ac9bb51072 (diff)
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 <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Ramon Fried <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions