From: Malcolm Priestley Date: Wed, 29 Oct 2014 17:43:58 +0000 (+0000) Subject: staging: vt6655: mac80211 conversion: device_error remove legacy functions X-Git-Tag: v3.19-rc1~66^2~654 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7e5d88d89b22baa3fa69b0f92e1780d1a9e865d6;p=karo-tx-linux.git staging: vt6655: mac80211 conversion: device_error remove legacy functions Remove netif_stop_queue, bCmdRunning and timer functions Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 451b608ca1f1..0bd2ca8b49b5 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1313,10 +1313,6 @@ static void device_error(struct vnt_private *pDevice, unsigned short status) if (status & ISR_FETALERR) { dev_err(&pDevice->pcid->dev, "Hardware fatal error\n"); - netif_stop_queue(pDevice->dev); - del_timer(&pDevice->sTimerCommand); - del_timer(&(pDevice->pMgmt->sTimerSecondCallback)); - pDevice->bCmdRunning = false; MACbShutdown(pDevice->PortOffset); return; }