diff --git a/apps/bttester/src/btp_gatt_cl.c b/apps/bttester/src/btp_gatt_cl.c index 8771c395b..37fae1c5b 100644 --- a/apps/bttester/src/btp_gatt_cl.c +++ b/apps/bttester/src/btp_gatt_cl.c @@ -871,7 +871,7 @@ read_long_cb(uint16_t conn_handle, struct ble_gatt_attr *attr, void *arg) { - struct btp_gattc_read_rp *rp;; + struct btp_gattc_read_rp *rp; uint8_t opcode = (uint8_t) (int) arg; uint8_t err = (uint8_t) error->status; struct os_mbuf *buf = os_msys_get(0, 0); diff --git a/apps/peripheral/src/main.c b/apps/peripheral/src/main.c index 03816b4db..4c68c6b6f 100755 --- a/apps/peripheral/src/main.c +++ b/apps/peripheral/src/main.c @@ -105,7 +105,7 @@ advertise(void) 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff)); fields.num_uuids128 = 1; - fields.uuids128_is_complete = 0;; + fields.uuids128_is_complete = 0; fields.tx_pwr_lvl = BLE_HS_ADV_TX_PWR_LVL_AUTO; rsp_fields.name = (uint8_t *)device_name; diff --git a/nimble/drivers/nrf5x/src/ble_phy.c b/nimble/drivers/nrf5x/src/ble_phy.c index 6f9e05142..8be0771bd 100644 --- a/nimble/drivers/nrf5x/src/ble_phy.c +++ b/nimble/drivers/nrf5x/src/ble_phy.c @@ -1661,7 +1661,7 @@ ble_phy_init(void) #if PHY_USE_HEADERMASK_WORKAROUND NVIC_SetVector(CCM_AAR_IRQn, (uint32_t)ble_phy_ccm_isr); NVIC_EnableIRQ(CCM_AAR_IRQn); - NRF_CCM->INTENCLR = CCM_INTENCLR_ENDKSGEN_Msk;; + NRF_CCM->INTENCLR = CCM_INTENCLR_ENDKSGEN_Msk; #endif #endif diff --git a/nimble/host/mesh/src/friend.c b/nimble/host/mesh/src/friend.c index 2c99d8d71..06ee1c311 100644 --- a/nimble/host/mesh/src/friend.c +++ b/nimble/host/mesh/src/friend.c @@ -399,7 +399,7 @@ static int unseg_app_sdu_decrypt(struct bt_mesh_friend *frnd, net_buf_simple_clone(buf, in); net_buf_simple_pull(buf, BT_MESH_NET_HDR_LEN); net_buf_simple_pull(buf, 1); - in->om_len -= BT_MESH_MIC_SHORT;; + in->om_len -= BT_MESH_MIC_SHORT; net_buf_simple_clone(in, out); err = bt_mesh_app_decrypt(meta->key, &meta->crypto, in, out); diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c index 9c6db09d4..435c90b46 100644 --- a/nimble/host/src/ble_gap.c +++ b/nimble/host/src/ble_gap.c @@ -1276,7 +1276,7 @@ ble_gap_conn_broken(uint16_t conn_handle, int reason) ble_sm_connection_broken(conn_handle); ble_gatts_connection_broken(conn_handle); ble_gattc_connection_broken(conn_handle); - ble_hs_flow_connection_broken(conn_handle);; + ble_hs_flow_connection_broken(conn_handle); ble_hs_atomic_conn_delete(conn_handle); diff --git a/nimble/include/nimble/hci_common.h b/nimble/include/nimble/hci_common.h index 01c3dbc14..15eb83339 100644 --- a/nimble/include/nimble/hci_common.h +++ b/nimble/include/nimble/hci_common.h @@ -1724,7 +1724,7 @@ struct ble_hci_ev_hw_error { struct comp_pkt { uint16_t handle; uint16_t packets; -} __attribute__((packed));; +} __attribute__((packed)); struct ble_hci_ev_num_comp_pkts { uint8_t count; struct comp_pkt completed[0];