OSDN Git Service

net: dsa: remove trans argument from mdb ops
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 30 Nov 2017 16:23:58 +0000 (11:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 02:18:56 +0000 (21:18 -0500)
commit3709aadc8375a1b0c42da5b12e38eddf8133dd4e
tree99012d5f5ec8279d23dee2c9475ed3e8a1853985
parent80e023607982faa6245507c45acf93bb0feb0ded
net: dsa: remove trans argument from mdb ops

The DSA switch MDB ops pass the switchdev_trans structure down to the
drivers, but no one is using them and they aren't supposed to anyway.

Remove the trans argument from MDB prepare and add operations.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/mv88e6xxx/chip.c
include/net/dsa.h
net/dsa/switch.c