staging: bcm: Fixed else after return or break warning
This patch fixes checkpatch.pl warning in files of bcm WARNING : else is not generally useful after a break or return Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
821a464c1c
commit
f39b81f550
@ -102,12 +102,11 @@ int InterfaceWRM(struct bcm_interface_adapter *psIntfAdapter,
|
||||
DBG_LVL_ALL, "WRM failed status :%d", retval);
|
||||
psIntfAdapter->psAdapter->DeviceAccess = false;
|
||||
return retval;
|
||||
} else {
|
||||
psIntfAdapter->psAdapter->DeviceAccess = false;
|
||||
BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, WRM,
|
||||
DBG_LVL_ALL, "WRM sent %d", retval);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
psIntfAdapter->psAdapter->DeviceAccess = false;
|
||||
BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, WRM,
|
||||
DBG_LVL_ALL, "WRM sent %d", retval);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
int BcmRDM(void *arg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user