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: v5.15~16669^2~654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e5d88d89b22baa3fa69b0f92e1780d1a9e865d6;p=platform%2Fkernel%2Flinux-starfive.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 451b608..0bd2ca8 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; }