From dbe5c40981548c7fc15942e7bfc66a7e6a1e0002 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 17 Dec 2016 11:42:55 +0200 Subject: [PATCH] monitor: Remove redundant parentheses --- monitor/l2cap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monitor/l2cap.c b/monitor/l2cap.c index 3c41ac44e..0abf84e63 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -2685,22 +2685,22 @@ static void print_smp_auth_req(uint8_t auth_req) break; } - if ((auth_req & 0x04)) + if (auth_req & 0x04) mitm = "MITM"; else mitm = "No MITM"; - if ((auth_req & 0x08)) + if (auth_req & 0x08) sc = "SC"; else sc = "Legacy"; - if ((auth_req & 0x10)) + if (auth_req & 0x10) kp = "Keypresses"; else kp = "No Keypresses"; - if ((auth_req & 0x20)) + if (auth_req & 0x20) ct2 = ", CT2"; else ct2 = ""; -- 2.47.3