Skip to content

Commit

Permalink
staging: ft1000: Fix coding style in ft1000_usb_transmit_complete fun…
Browse files Browse the repository at this point in the history
…ction.

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>
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 2dd9017 commit 251c72f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 251c72f

Please sign in to comment.