infiniband: Replace memset with eth_zero_addr
authorLucas Tanure <tanure@linux.com>
Tue, 19 Jan 2016 14:06:30 +0000 (12:06 -0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:24:54 +0000 (15:24 -0500)
commit39f426553ea30f4449d022577fd6494c265ef3ef
treeedf1f5fd92ed342e18fc7efd7a0aec14cb50a9e7
parent50ca6ed21e7c389c250ee30b0bb4df66157a1115
infiniband: Replace memset with eth_zero_addr

Use eth_zero_addr to assign the zero address to the given address
array instead of memset when second argument is address of zero.

Signed-off-by: Lucas Tanure <tanure@linux.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/ah.c
drivers/infiniband/hw/nes/nes_utils.c