net/atlantic: remove extra checks for error codes
authorIgor Russkikh <igor.russkikh@aquantia.com>
Tue, 12 Mar 2019 15:24:55 +0000 (15:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit0b504bcfefc29fbafd9278603022093df401a85f
treef56f64577ae1bf7eca36183ea609663a539f02db
parent1da02f4ebe1ddfaf9adbe0fdf43288b20596b43f
net/atlantic: remove extra checks for error codes

Found by Coverity scan. Checks are useless
because at these code places err is always zero.

Fixes: 86d36773bd42 ("net/atlantic: implement firmware operations")
Cc: stable@dpdk.org
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/hw_atl/hw_atl_utils.c