From 0666827d25696dfde3e45f0ad863b7e22fea6197 Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Fri, 10 Apr 2015 04:30:53 -0700 Subject: [PATCH] FIB: remove extraneous parentheses --- sys/net/network_layer/fib/universal_address.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/network_layer/fib/universal_address.c b/sys/net/network_layer/fib/universal_address.c index d1d817479e..c259721515 100644 --- a/sys/net/network_layer/fib/universal_address.c +++ b/sys/net/network_layer/fib/universal_address.c @@ -77,7 +77,7 @@ static universal_address_container_t *universal_address_get_next_unused_entry(vo { if (universal_address_table_filled < UNIVERSAL_ADDRESS_MAX_ENTRIES) { for (size_t i = 0; i < UNIVERSAL_ADDRESS_MAX_ENTRIES; ++i) { - if ((universal_address_table[i].use_count == 0)) { + if (universal_address_table[i].use_count == 0) { return &(universal_address_table[i]); } } @@ -256,6 +256,6 @@ void universal_address_print_table(void) (int)universal_address_table_filled); for (size_t i = 0; i < UNIVERSAL_ADDRESS_MAX_ENTRIES; ++i) { - universal_address_print_entry((&universal_address_table[i])); + universal_address_print_entry(&universal_address_table[i]); } }