net/pfe: remove unnecessary null check
authorThierry Herbelot <thierry.herbelot@6wind.com>
Mon, 24 May 2021 09:37:54 +0000 (11:37 +0200)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit01bfb518a39b91da7896abe579bcf72d06935bf5
treeb3d5136eef487b6581b880ec081eaf78524a2e63
parent355a3c96235d6e24b03207ea141ddd5cacda36f1
net/pfe: remove unnecessary null check

ethdev library does the check of dev before calling the link update.

Fixes: acd4818ea2a45 ("net/pfe: add link status update")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Gagandeep Singh <g.singh@nxp.com>
drivers/net/pfe/pfe_ethdev.c