Commit d36ec22d authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman

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: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d40c99c7
...@@ -245,7 +245,7 @@ static void deinit_irq(struct net_device *dev) ...@@ -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); PRINT_D(INIT_DBG, "%d\n", *buff);
} }
......
...@@ -210,7 +210,7 @@ extern struct net_device *WILC_WFI_devs[]; ...@@ -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_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
void wilc_mac_indicate(struct wilc *wilc, int flag); void wilc_mac_indicate(struct wilc *wilc, int flag);
void wilc_rx_complete(struct wilc *wilc); 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); int wilc_lock_timeout(struct wilc *wilc, void *, u32 timeout);
void wilc_netdev_cleanup(struct wilc *wilc); void wilc_netdev_cleanup(struct wilc *wilc);
......
...@@ -51,7 +51,7 @@ static void wilc_debug(u32 flag, char *fmt, ...) ...@@ -51,7 +51,7 @@ static void wilc_debug(u32 flag, char *fmt, ...)
vsprintf(buf, fmt, args); vsprintf(buf, fmt, args);
va_end(args); va_end(args);
wilc_dbg(wilc_dev, buf); wilc_dbg(buf);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment