Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f39b81f5 authored by Dilek Uzulmez's avatar Dilek Uzulmez Committed by Greg Kroah-Hartman
Browse files

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: default avatarDilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 821a464c
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -102,13 +102,12 @@ 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;
}
}

int BcmRDM(void *arg,
	unsigned int addr,