Commit 6246432f authored by Jade Bilkey's avatar Jade Bilkey Committed by Greg Kroah-Hartman

staging: bcm: Fix space before semicolon

Fixes several checkpatch

WARNING: space prohibited before semicolon
Signed-off-by: default avatarJade Bilkey <herself@thefumon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 529d08e9
...@@ -282,7 +282,7 @@ static void usbbcm_disconnect(struct usb_interface *intf) ...@@ -282,7 +282,7 @@ static void usbbcm_disconnect(struct usb_interface *intf)
if (psAdapter->bDoSuspend) if (psAdapter->bDoSuspend)
intf->needs_remote_wakeup = 0; intf->needs_remote_wakeup = 0;
psAdapter->device_removed = TRUE ; psAdapter->device_removed = TRUE;
usb_set_intfdata(intf, NULL); usb_set_intfdata(intf, NULL);
InterfaceAdapterFree(psIntfAdapter); InterfaceAdapterFree(psIntfAdapter);
usb_put_dev(udev); usb_put_dev(udev);
...@@ -378,7 +378,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter) ...@@ -378,7 +378,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter)
size_t buffer_size; size_t buffer_size;
unsigned long value; unsigned long value;
int retval = 0; int retval = 0;
int usedIntOutForBulkTransfer = 0 ; int usedIntOutForBulkTransfer = 0;
bool bBcm16 = false; bool bBcm16 = false;
UINT uiData = 0; UINT uiData = 0;
int bytes; int bytes;
...@@ -434,7 +434,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter) ...@@ -434,7 +434,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter)
"BCM16 is applicable on this dongle\n"); "BCM16 is applicable on this dongle\n");
if (retval || if (retval ||
(psIntfAdapter->bHighSpeedDevice == false)) { (psIntfAdapter->bHighSpeedDevice == false)) {
usedIntOutForBulkTransfer = EP2 ; usedIntOutForBulkTransfer = EP2;
endpoint = &iface_desc->endpoint[EP2].desc; endpoint = &iface_desc->endpoint[EP2].desc;
BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,
DBG_TYPE_INITEXIT, DRV_ENTRY, DBG_TYPE_INITEXIT, DRV_ENTRY,
...@@ -471,7 +471,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter) ...@@ -471,7 +471,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter)
DRV_ENTRY, DRV_ENTRY,
DBG_LVL_ALL, DBG_LVL_ALL,
"reset failed. Re-enumerating the device.\n"); "reset failed. Re-enumerating the device.\n");
return retval ; return retval;
} }
} }
...@@ -488,7 +488,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter) ...@@ -488,7 +488,7 @@ static int InterfaceAdapterInit(struct bcm_interface_adapter *psIntfAdapter)
0x136, 4, TRUE); 0x136, 4, TRUE);
} }
} else { } else {
usedIntOutForBulkTransfer = EP4 ; usedIntOutForBulkTransfer = EP4;
endpoint = &iface_desc->endpoint[EP4].desc; endpoint = &iface_desc->endpoint[EP4].desc;
BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,
DBG_TYPE_INITEXIT, DRV_ENTRY, DBG_TYPE_INITEXIT, DRV_ENTRY,
...@@ -631,7 +631,7 @@ static int InterfaceSuspend(struct usb_interface *intf, pm_message_t message) ...@@ -631,7 +631,7 @@ static int InterfaceSuspend(struct usb_interface *intf, pm_message_t message)
psIntfAdapter->bPreparingForBusSuspend = false; psIntfAdapter->bPreparingForBusSuspend = false;
if (psIntfAdapter->psAdapter->LinkStatus == LINKUP_DONE) { if (psIntfAdapter->psAdapter->LinkStatus == LINKUP_DONE) {
psIntfAdapter->psAdapter->IdleMode = TRUE ; psIntfAdapter->psAdapter->IdleMode = TRUE;
BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,
DBG_TYPE_INITEXIT, DRV_ENTRY, DBG_TYPE_INITEXIT, DRV_ENTRY,
DBG_LVL_ALL, DBG_LVL_ALL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment