nfp: remove unused parameter from nfp_net_write_mac_addr()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 29 Jun 2016 20:55:54 +0000 (21:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jun 2016 13:12:14 +0000 (09:12 -0400)
commitf642963bff1921b7a0b3c8250520b4bde0943387
tree0fa498d245b195c15942ebcad52cef793214a17e
parent796312cd00d308ca142bace8dd512b02f24d178a
nfp: remove unused parameter from nfp_net_write_mac_addr()

nfp_net_write_mac_addr() always writes to the BAR the current
device address taken from netdev struct.  The address given
as parameter is actually ignored.  Since all callers pass
netdev->dev_addr simply remove the parameter.

While at it improve the function's kdoc a bit.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c