mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
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>
This commit is contained in:
parent
746f0c5a3e
commit
2820663c6f
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue