From a6b1d95908dbbc679846e6d362298e60445f5b7e Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 20 Sep 2010 23:11:59 +0900 Subject: [PATCH] staging: rtl8192e: Remove commented function rtl8192_set_mode() Signed-off-by: Mike McCormack Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/r8192E_core.c | 31 -------------------------- 1 file changed, 31 deletions(-) diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index d3d54a63c0dd..ef590e6d9ab7 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -809,20 +809,6 @@ void rtl8192_irq_disable(struct net_device *dev) priv->irq_enabled = 0; } - -#if 0 -static void rtl8192_set_mode(struct net_device *dev,int mode) -{ - u8 ecmd; - ecmd=read_nic_byte(dev, EPROM_CMD); - ecmd=ecmd &~ EPROM_CMD_OPERATING_MODE_MASK; - ecmd=ecmd | (mode<dma_poll_mask |= (1<dma_poll_mask); - rtl8192_set_mode(dev,EPROM_CMD_NORMAL); - #endif } - static void rtl8192_data_hard_resume(struct net_device *dev) { - // FIXME !! - #if 0 - struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); - priv->dma_poll_mask &= ~(1<dma_poll_mask); - rtl8192_set_mode(dev,EPROM_CMD_NORMAL); - #endif } /*