Commit 26ac5b4d authored by Matthias Oefelein's avatar Matthias Oefelein Committed by Greg Kroah-Hartman
Browse files

beeceem: Fix broken indentations in InterfaceRx.c



Checkpatch reports a lot of spaces at the beginning of lines and other
wrong indentations. This patch fixes these issues.

Signed-off-by: default avatarMatthias Oefelein <ma.oefelein@arcor.de>
Signed-off-by: default avatarRalph Mueck <linux-kernel@rmueck.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d38eca95
Loading
Loading
Loading
Loading
+26 −29
Original line number Diff line number Diff line
@@ -54,8 +54,7 @@ static void read_bulk_callback(struct urb *urb)

	if((Adapter->device_removed == TRUE) ||
	   (TRUE == Adapter->bEndPointHalted) ||
		(0 == urb->actual_length)
		)
	   (0 == urb->actual_length))
	{
		pRcb->bUsed = false;
		atomic_dec(&psIntfAdapter->uNumRcbUsed);
@@ -186,8 +185,8 @@ static void read_bulk_callback(struct urb *urb)

		for(uiIndex = 0; uiIndex < MIBS_MAX_HIST_ENTRIES; uiIndex++)
		{
			if((pLeader->PLength <= MIBS_PKTSIZEHIST_RANGE*(uiIndex+1))
				&& (pLeader->PLength > MIBS_PKTSIZEHIST_RANGE*(uiIndex)))
			if((pLeader->PLength <= MIBS_PKTSIZEHIST_RANGE*(uiIndex+1)) &&
			   (pLeader->PLength > MIBS_PKTSIZEHIST_RANGE*(uiIndex)))
				Adapter->aRxPktSizeHist[uiIndex]++;
		}
	}
@@ -201,10 +200,8 @@ static int ReceiveRcb(struct bcm_interface_adapter *psIntfAdapter, struct bcm_us
	struct urb *urb = pRcb->urb;
	int retval = 0;

	usb_fill_bulk_urb(urb, psIntfAdapter->udev, usb_rcvbulkpipe(
			psIntfAdapter->udev, psIntfAdapter->sBulkIn.bulk_in_endpointAddr),
		  	urb->transfer_buffer, BCM_USB_MAX_READ_LENGTH, read_bulk_callback,
			pRcb);
	usb_fill_bulk_urb(urb, psIntfAdapter->udev, usb_rcvbulkpipe(psIntfAdapter->udev, psIntfAdapter->sBulkIn.bulk_in_endpointAddr),
			  urb->transfer_buffer, BCM_USB_MAX_READ_LENGTH, read_bulk_callback, pRcb);
	if(false == psIntfAdapter->psAdapter->device_removed &&
	   false == psIntfAdapter->psAdapter->bEndPointHalted &&
	   false == psIntfAdapter->bSuspended &&