|
@@ -1014,10 +1014,8 @@ static void ethsw_switchdev_event_work(struct work_struct *work)
|
|
|
container_of(work, struct ethsw_switchdev_event_work, work);
|
|
|
struct net_device *dev = switchdev_work->dev;
|
|
|
struct switchdev_notifier_fdb_info *fdb_info;
|
|
|
- struct ethsw_port_priv *port_priv;
|
|
|
|
|
|
rtnl_lock();
|
|
|
- port_priv = netdev_priv(dev);
|
|
|
fdb_info = &switchdev_work->fdb_info;
|
|
|
|
|
|
switch (switchdev_work->event) {
|