projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octeontx2-pf: Fix assigned error return value that is never used
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
marvell
/
octeontx2
/
nic
/
otx2_dmac_flt.c
diff --git
a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
index
ffe3e94
..
383a6b5
100644
(file)
--- a/
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
+++ b/
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
@@
-161,7
+161,7
@@
int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u8 bit_pos)
if (!req) {
mutex_unlock(&pf->mbox.lock);
- r
c =
-ENOMEM;
+ r
eturn
-ENOMEM;
}
ether_addr_copy(req->mac_addr, mac);