Skip to content

Commit

Permalink
Staging: winbond: mds: Fixed coding style issues
Browse files Browse the repository at this point in the history
Removed printk tracing call

Signed-off-by: Adil Mujeeb <mujeeb.adil@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Adil Mujeeb authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 746f0c5 commit 2820663
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/winbond/mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,8 @@ Mds_Tx(struct wbsoft_priv *adapter)
/* 931130.5.b */
FragmentCount = PacketSize/FragmentThreshold + 1;
stmp = PacketSize + FragmentCount*32 + 8; /* 931130.5.c 8:MIC */
if ((XmitBufSize + stmp) >= MAX_USB_TX_BUFFER) {
printk("[Mds_Tx] Excess max tx buffer.\n");
if ((XmitBufSize + stmp) >= MAX_USB_TX_BUFFER)
break; /* buffer is not enough */
}


/*
* Start transmitting
Expand Down

0 comments on commit 2820663

Please sign in to comment.