net: ethernet: ezchip: remove redundant check
authorPavel Skripkin <paskripkin@gmail.com>
Fri, 18 Jun 2021 16:14:37 +0000 (19:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jun 2021 18:46:00 +0000 (11:46 -0700)
commit4ae85b23e1f052379f0316e42494e2f84f2a3e6f
tree416cf9c62f3d7cad9ef016409c6216b773cae123
parente4b8700e07a86e8eab6916aa5c5ba99042c34089
net: ethernet: ezchip: remove redundant check

err varibale will be set everytime, when code gets
into this path. This check will just slowdown the execution
and that's all.

Fixes: 0dd077093636 ("NET: Add ezchip ethernet driver")
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ezchip/nps_enet.c