diff options
author | Adil Mujeeb <mujeeb.adil@gmail.com> | 2012-11-08 00:20:01 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 13:11:57 -0800 |
commit | 2820663c6f08f838398b0727773fb44e08876969 (patch) | |
tree | 1e4318e07d977e75c0677929177994eb6afadfb0 /drivers/staging/winbond | |
parent | 746f0c5a3ee43ff0628334a7f40fd41df8d87b24 (diff) |
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')
-rw-r--r-- | drivers/staging/winbond/mds.c | 5 |
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 |