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

Commit c15fd709 authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman
Browse files

staging: bcm: Removed else which was not required after return



WARNING:else is generally not required after return
checkpatch.pl warning in LeakyBucket.c

Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c234f6c
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -82,13 +82,12 @@ static ULONG GetSFTokenCount(struct bcm_mini_adapter *Adapter, struct bcm_packet
	if (false != psSF->bValid && psSF->ucDirection) {
		if (0 != psSF->uiCurrentTokenCount) {
			return psSF->uiCurrentTokenCount;
		} else {
		}
		BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, TOKEN_COUNTS,
				DBG_LVL_ALL,
				"Not enough tokens in queue %zd Available %u\n",
				psSF-Adapter->PackInfo, psSF->uiCurrentTokenCount);
		psSF->uiPendedLast = 1;
		}
	} else {
		BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, TOKEN_COUNTS, DBG_LVL_ALL,
				"IPAFF: Queue %zd not valid\n",