diff options
author | Joe Perches <joe@perches.com> | 2011-02-02 14:05:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-02 14:34:49 -0800 |
commit | 1071a134d0822663f497a1dda4866cffa7df4e36 (patch) | |
tree | 8a533bd3f4f9b7571a089825b5c9bb7ee020d8fd /drivers/staging/ath6kl/miscdrv/credit_dist.c | |
parent | 949c3676cd6b2717c2abda5d9b10e6d6d7daf741 (diff) |
staging: ath6kl: Remove A_BOOL and TRUE/FALSE
Use kernel bool and true/false.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/miscdrv/credit_dist.c')
-rw-r--r-- | drivers/staging/ath6kl/miscdrv/credit_dist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ath6kl/miscdrv/credit_dist.c b/drivers/staging/ath6kl/miscdrv/credit_dist.c index 3f7543d08ab2..b813f8e8c4df 100644 --- a/drivers/staging/ath6kl/miscdrv/credit_dist.c +++ b/drivers/staging/ath6kl/miscdrv/credit_dist.c @@ -136,7 +136,7 @@ static void ar6000_credit_init(void *Context, if (pCredInfo->CurrentFreeCredits <= 0) { AR_DEBUG_PRINTF(ATH_LOG_INF, ("Not enough credits (%d) to do credit distributions \n", TotalCredits)); - A_ASSERT(FALSE); + A_ASSERT(false); return; } @@ -382,7 +382,7 @@ static void SeekCredits(COMMON_CREDIT_STATE_INFO *pCredInfo, /* return what we can get */ credits = min(pCredInfo->CurrentFreeCredits,pEPDist->TxCreditsSeek); - } while (FALSE); + } while (false); /* did we find some credits? */ if (credits) { |