From 8ca73b9c4e0e1d30e3606570c66acf94788bbea9 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 28 Nov 2018 16:17:36 +0100 Subject: [PATCH] remove unused variable --- lib/src/upper/pdcp_entity.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/src/upper/pdcp_entity.cc b/lib/src/upper/pdcp_entity.cc index c26c6b9f0..7f3dd8521 100644 --- a/lib/src/upper/pdcp_entity.cc +++ b/lib/src/upper/pdcp_entity.cc @@ -237,8 +237,6 @@ void pdcp_entity::integrity_generate( uint8_t *msg, uint32_t msg_len, uint8_t *mac) { - uint8_t bearer; - switch(integ_algo) { case INTEGRITY_ALGORITHM_ID_EIA0: @@ -316,8 +314,7 @@ bool pdcp_entity::integrity_verify(uint8_t *msg, } } if (isValid){ - log->info_hex(mac_exp, 4, "MAC match (expected)"); - log->info_hex(mac, 4, "MAC match (found)"); + log->info_hex(mac_exp, 4, "MAC match"); } break; default: