From affd6a7f7a31cde795d760947dff7a7c4b55ae2c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 18 Oct 2021 16:44:19 +0200 Subject: tbf: Drop unneeded braces in one line condition Change-Id: Ief5e0ea0b7146d3330a17d5f0d171755b576fca3 --- src/tbf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tbf.cpp b/src/tbf.cpp index 50940c83..07732dc4 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -206,9 +206,8 @@ void gprs_rlcmac_tbf::set_ms(GprsMs *ms) if (m_ms == ms) return; - if (m_ms) { + if (m_ms) ms_detach_tbf(m_ms, this); - } m_ms = ms; -- cgit v1.2.3