net/bnxt: fix return code in MAC address set
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 7 Feb 2018 01:16:16 +0000 (17:16 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 17:42:14 +0000 (18:42 +0100)
commita6411929a56dce97770ed95ff14855649160e2bc
treee3ed555b402b742a6fd32db31646c2214083ae5f
parenta1f3f2937db48c8be8057260ef6e8dbf127c09f8
net/bnxt: fix return code in MAC address set

There is no need to return an error if an existing MAC is added.

Fixes: 778b759ba10e ("net/bnxt: add MAC address")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c