diff options
author | Esben Haabendal <[email protected]> | 2021-06-17 11:49:23 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-17 11:39:48 -0700 |
commit | e2dbbbe52c4a0f7704735b49f864fe8ea06111e5 (patch) | |
tree | cfdd39c77081894d496d7053d25a4179270d64cd /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | ef09487431a96029b64a7a6fc4ced46662e921e7 (diff) |
net: gianfar: Avoid 16 bytes of memset
The memset on CAMx is wrong, as it actually unmasks all carry irq's,
which we clearly are not interested in.
The memset on CARx registers is just pointless, as they are W1C.
So let's just stop the memset before CAR1.
Signed-off-by: Esben Haabendal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions