qed: Replace memset with eth_zero_addr
authorShyam Saini <mayhs11saini@gmail.com>
Tue, 17 Jan 2017 02:05:04 +0000 (07:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2017 20:24:47 +0000 (15:24 -0500)
commit0ee28e31553a6f2ed13223e565ae5a4d7a376942
tree94ed4c4227c9ed303d720bd694d456fd1718957c
parent53631a5f9c6669264adb7b4e92fd95d1d6ffa7d3
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>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_sriov.c