1
0
Fork 0

staging: wilc1000: wilc_dbg: remove wilc

This patch remove parameter struct wilc since it is not used and also wilc_dev
will be removed.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Glen Lee 2015-11-18 15:11:36 +09:00 committed by Greg Kroah-Hartman
parent d40c99c74c
commit d36ec22d1d
3 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ static void deinit_irq(struct net_device *dev)
}
}
void wilc_dbg(struct wilc *wilc, u8 *buff)
void wilc_dbg(u8 *buff)
{
PRINT_D(INIT_DBG, "%d\n", *buff);
}

View File

@ -210,7 +210,7 @@ extern struct net_device *WILC_WFI_devs[];
void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
void wilc_mac_indicate(struct wilc *wilc, int flag);
void wilc_rx_complete(struct wilc *wilc);
void wilc_dbg(struct wilc *, u8 *buff);
void wilc_dbg(u8 *buff);
int wilc_lock_timeout(struct wilc *wilc, void *, u32 timeout);
void wilc_netdev_cleanup(struct wilc *wilc);

View File

@ -51,7 +51,7 @@ static void wilc_debug(u32 flag, char *fmt, ...)
vsprintf(buf, fmt, args);
va_end(args);
wilc_dbg(wilc_dev, buf);
wilc_dbg(buf);
}
}