diff mbox

[maint,1/3] batman-adv: Remove unnecessary braces for test_bit() in DAT

Message ID 1439565830-9776-1-git-send-email-linus.luessing@c0d3.blue
State Accepted, archived
Commit af3558688698479a56034f0fcbca164be2052aa8
Headers show

Commit Message

Linus Lüssing Aug. 14, 2015, 3:23 p.m. UTC
Fixes: de466678 ("batman-adv: Fix broken DAT capability check")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
---
 net/batman-adv/distributed-arp-table.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Lindner Sept. 6, 2015, 8:06 a.m. UTC | #1
On Friday, August 14, 2015 17:23:48 Linus Lüssing wrote:
> Fixes: de466678 ("batman-adv: Fix broken DAT capability check")
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
>  net/batman-adv/distributed-arp-table.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in revision af35586.

Thanks,
Marek
diff mbox

Patch

diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index 1caf7d2..63243a3 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -453,7 +453,7 @@  static bool batadv_is_orig_node_eligible(struct batadv_dat_candidate *res,
 	int j;
 
 	/* check if orig node candidate is running DAT */
-	if (!(test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)))
+	if (!test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities))
 		goto out;
 
 	/* Check if this node has already been selected... */