summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-09-22 10:55:11 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-09-22 10:55:11 +0300
commit0ca6eacb9a6d32730bd1e3208c9d2300b4d86d6a (patch)
treed877c340fceb10f756d7b770400446e3b398b58c
parentbab7bc682bf916b57ff3509858f6996080747cb2 (diff)
downloadbluez-0ca6eacb9a6d32730bd1e3208c9d2300b4d86d6a.tar.gz
Remove redundant parentheses
-rw-r--r--health/mcap_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/mcap_sync.c b/health/mcap_sync.c
index 0c0d9dc7b..49661a75a 100644
--- a/health/mcap_sync.c
+++ b/health/mcap_sync.c
@@ -354,7 +354,7 @@ static gboolean initialize_caps(struct mcap_mcl *mcl)
avg = 0;
i = 0;
retries = MAX_RETRIES;
- while ((i < SAMPLE_COUNT) && (retries > 0)) {
+ while (i < SAMPLE_COUNT && retries > 0) {
clock_gettime(CLK, &t1);
if (!read_btclock(mcl, &btclock, &btaccuracy)) {
retries--;