mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 17:41:29 +00:00
staging: ft1000: Fix coding style in ft1000_usb_transmit_complete function.
Fix coding style and also replace printk with proper pr_err function. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2dd9017b47
commit
251c72f84a
@ -902,14 +902,14 @@ static int ft1000_reset(struct net_device *dev)
|
||||
static void ft1000_usb_transmit_complete(struct urb *urb)
|
||||
{
|
||||
|
||||
struct ft1000_device *ft1000dev = urb->context;
|
||||
struct ft1000_device *ft1000dev = urb->context;
|
||||
|
||||
//DEBUG("ft1000_usb_transmit_complete entered\n");
|
||||
|
||||
if (urb->status)
|
||||
printk("%s: TX status %d\n", ft1000dev->net->name, urb->status);
|
||||
if (urb->status)
|
||||
pr_err("%s: TX status %d\n", ft1000dev->net->name, urb->status);
|
||||
|
||||
netif_wake_queue(ft1000dev->net);
|
||||
netif_wake_queue(ft1000dev->net);
|
||||
|
||||
//DEBUG("Return from ft1000_usb_transmit_complete\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user