summaryrefslogtreecommitdiff
path: root/drivers/net/atlantic/hw_atl/hw_atl_utils.c
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2019-04-29 08:20:13 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-05-03 18:45:23 +0200
commit185b80738f0507b55b7eaaf351558a941dfab58b (patch)
tree6f9d02819e6b0a4dbc46fdebe14c602256b89428 /drivers/net/atlantic/hw_atl/hw_atl_utils.c
parent1b1fd81256dad0c385862e8b0bc590a941dec7ca (diff)
downloaddpdk-185b80738f0507b55b7eaaf351558a941dfab58b.zip
dpdk-185b80738f0507b55b7eaaf351558a941dfab58b.tar.gz
dpdk-185b80738f0507b55b7eaaf351558a941dfab58b.tar.xz
net/atlantic: fix indentation
Make indentation correct. No functional impact. Fixes: f73061d53b5a ("net/atlantic: use EEPROM magic as a device address") Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Diffstat (limited to 'drivers/net/atlantic/hw_atl/hw_atl_utils.c')
-rw-r--r--drivers/net/atlantic/hw_atl/hw_atl_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils.c b/drivers/net/atlantic/hw_atl/hw_atl_utils.c
index 4299b70..1910bd4 100644
--- a/drivers/net/atlantic/hw_atl/hw_atl_utils.c
+++ b/drivers/net/atlantic/hw_atl/hw_atl_utils.c
@@ -305,10 +305,10 @@ int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a,
AQ_HW_WAIT_FOR(!(0x100 & aq_hw_read_reg(self,
HW_ATL_MIF_CMD)),
1, 1000U);
- if (err) {
- err = -ETIMEDOUT;
- goto err_exit;
- }
+ if (err) {
+ err = -ETIMEDOUT;
+ goto err_exit;
+ }
*(p++) = aq_hw_read_reg(self, HW_ATL_MIF_VAL);
a += 4;