speedtch usbatm.c,1.37,1.38

Duncan Sands duncan at infradead.org
Thu May 5 05:06:00 EDT 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv14949

Modified Files:
	usbatm.c 
Log Message:
Big stack elements before small.


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- usbatm.c	5 May 2005 08:37:50 -0000	1.37
+++ usbatm.c	5 May 2005 09:05:56 -0000	1.38
@@ -226,8 +226,8 @@
 
 static inline int usbatm_submit_transceiver(struct usbatm_transceiver *trx)
 {
-	int ret;
 	struct usbatm_channel *channel = trx->channel;
+	int ret;
 
 	vdbg("%s: submitting urb 0x%p, trx 0x%p, size %u",
 	     __func__, trx->urb, trx, trx->urb->transfer_buffer_length);
@@ -519,9 +519,9 @@
 	struct usbatm_data *instance = (struct usbatm_data *)data;
 	struct sk_buff *skb = instance->current_skb;
 	struct usbatm_transceiver *tx = NULL;
-	u8 *buffer = NULL;
 	const unsigned int buf_size = instance->tx_channel.buf_size;
 	unsigned int num_written = 0;
+	u8 *buffer = NULL;
 
 	if (!skb)
 		skb = skb_dequeue(&instance->sndqueue);




More information about the Usbatm-commits mailing list