OSDN Git Service

ethernet: hisilicon: hns: hns_dsaf_mac: Use generic eth_broadcast_addr
authorJoe Perches <joe@perches.com>
Fri, 30 Mar 2018 19:37:30 +0000 (12:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 02:26:43 +0000 (22:26 -0400)
commit49b44aa23e58d292cc1be79a5c7883ac8c927676
tree0317c25f1d20f664d134b92e816e684943f1f7fd
parentb3834acdd78e2b626d576e90c502727da5a46e3c
ethernet: hisilicon: hns: hns_dsaf_mac: Use generic eth_broadcast_addr

Rather than use an on-stack array to copy a broadcast address, use
the generic eth_broadcast_addr function to save a trivial amount of
object code.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c