aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/mds.c
diff options
context:
space:
mode:
authorAdil Mujeeb <mujeeb.adil@gmail.com>2012-11-08 00:20:01 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-13 13:11:57 -0800
commit2820663c6f08f838398b0727773fb44e08876969 (patch)
tree1e4318e07d977e75c0677929177994eb6afadfb0 /drivers/staging/winbond/mds.c
parentStaging: winbond: wb35rx_f: Fixed coding style issues (diff)
downloadlinux-dev-2820663c6f08f838398b0727773fb44e08876969.tar.xz
linux-dev-2820663c6f08f838398b0727773fb44e08876969.zip
Staging: winbond: mds: Fixed coding style issues
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>
Diffstat (limited to 'drivers/staging/winbond/mds.c')
-rw-r--r--drivers/staging/winbond/mds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index 43990e87d641..faa93f0ee102 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -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