]> asedeno.scripts.mit.edu Git - linux.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)
commit092183df0fa1f4b49baad3a980c55d55de07dfb7
tree5e3c4a89f506bf3c488204ccf519e772c9944cde
parent06f8ec9041f02d44bb0b75d47668e2fe00d5e0c3
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