Skip to content
Commit 4b5b1ac5 authored by Shyam Saini's avatar Shyam Saini Committed by David S. Miller
Browse files

sfc: Replace memset with eth_zero_addr



Use eth_zero_addr to assign zero address to the given address array
instead of memset when the second argument in memset is address
of zero which makes the code clearer and also add header
file linux/etherdevice.h

Signed-off-by: default avatarShyam Saini <mayhs11saini@gmail.com>
Acked-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dbeaa8c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment