net: dsa: Fix duplicate object rule
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 8 Feb 2017 22:40:04 +0000 (14:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2017 22:11:09 +0000 (17:11 -0500)
While adding switch.o to the list of DSA object files, we essentially
duplicated the previous obj-y line and just added switch.o, remove the
duplicate.

Fixes: f515f192ab4f ("net: dsa: add switch notifier")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Makefile

index 72912982de3d7bdfcc06be9b9b7f1aadfd419b00..31d343796251da06c979b3428f275f5911dfb2ab 100644 (file)
@@ -1,6 +1,5 @@
 # the core
 obj-$(CONFIG_NET_DSA) += dsa_core.o
-dsa_core-y += dsa.o slave.o dsa2.o
 dsa_core-y += dsa.o slave.o dsa2.o switch.o
 
 # tagging formats