&& netif_carrier_ok(port->netdev))
&& ((jiffies - port->netdev->trans_start) >
port->netdev->watchdog_timeo)) {
- SCHEDULE_WORK(port->adapter->tx_timeout_task
- + port->portnum);
+ SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}
last_consumer = get_next_index(last_consumer,
{
struct netxen_port *port = (struct netxen_port *)netdev_priv(netdev);
- SCHEDULE_WORK(port->adapter->tx_timeout_task + port->portnum);
+ SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}
static void netxen_tx_timeout_task(struct work_struct *work)