]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: winbond: mds: Fixed coding style issues
authorAdil Mujeeb <mujeeb.adil@gmail.com>
Wed, 7 Nov 2012 18:50:01 +0000 (00:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 21:11:57 +0000 (13:11 -0800)
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>
drivers/staging/winbond/mds.c

index 43990e87d6416bdbfff4010df38ae496281481ff..faa93f0ee102007d6687dff011f8d4bc19ef20b4 100644 (file)
@@ -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