]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: dsa: make the set_addr() operation optional
authorJohn Crispin <john@phrozen.org>
Mon, 19 Sep 2016 13:28:01 +0000 (15:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 08:47:44 +0000 (04:47 -0400)
commit7af03c510b5d1d51612ec6b2cd7f98adc8d676d1
tree5e3c4a89f506bf3c488204ccf519e772c9944cde
parentcc8ee66e9bc2a140dd06fb48e368a2da07d62509
net-next: dsa: make the set_addr() operation optional

Only 1 of the 3 drivers currently has a set_addr() operation. Make the
set_addr() callback optional to reduce the amount of empty stubs inside
the drivers.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/dsa2.c