Fix some minor build warnins in the agnx driver
Cc: Li YanBo <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
spin_unlock_irqrestore(&priv->lock, flags);
}
-
+#if 0
static void agnx_periodic_work_handler(struct work_struct *work)
{
struct agnx_priv *priv = container_of(work, struct agnx_priv,
// spin_unlock_irqrestore(&priv->lock, flags);
}
-
+#endif
static int agnx_start(struct ieee80211_hw *dev)
{
struct agnx_priv *priv = dev->priv;
- unsigned long delay;
+ /* unsigned long delay; */
int err = 0;
AGNX_TRACE;
agnx_write32(ctl, AGNX_SYSITF_SYSMODE, 0x0);
}
+#if 0
static void unknow_register_write(struct agnx_priv *priv)
{
void __iomem *ctl = priv->ctl;
agnx_write32(ctl, AGNX_UNKNOWN_BASE + 0x58, 0x1F);
agnx_write32(ctl, AGNX_UNKNOWN_BASE + 0x5c, 0x1a);
}
+#endif
static void card_interface_init(struct agnx_priv *priv)
{