summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorShyam Saini <mayhs11saini@gmail.com>2017-01-17 07:35:04 +0530
committerDavid S. Miller <davem@davemloft.net>2017-01-17 15:24:47 -0500
commit0ee28e31553a6f2ed13223e565ae5a4d7a376942 (patch)
tree94ed4c4227c9ed303d720bd694d456fd1718957c /net/ipv4
parent53631a5f9c6669264adb7b4e92fd95d1d6ffa7d3 (diff)
downloadlinux-0ee28e31553a6f2ed13223e565ae5a4d7a376942.tar.gz
linux-0ee28e31553a6f2ed13223e565ae5a4d7a376942.tar.bz2
linux-0ee28e31553a6f2ed13223e565ae5a4d7a376942.zip
qed: 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. Also, it makes the code clearer Signed-off-by: Shyam Saini <mayhs11saini@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions