Skip to content

Commit ef2963e

Browse files
guy-mandrzej-kaczmarek
authored andcommitted
Remove double semi-colon in the code
Remove double semi-colon in the code
1 parent 0431987 commit ef2963e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

apps/bttester/src/btp_gatt_cl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ read_long_cb(uint16_t conn_handle,
871871
struct ble_gatt_attr *attr,
872872
void *arg)
873873
{
874-
struct btp_gattc_read_rp *rp;;
874+
struct btp_gattc_read_rp *rp;
875875
uint8_t opcode = (uint8_t) (int) arg;
876876
uint8_t err = (uint8_t) error->status;
877877
struct os_mbuf *buf = os_msys_get(0, 0);

apps/peripheral/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ advertise(void)
105105
0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
106106
0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff));
107107
fields.num_uuids128 = 1;
108-
fields.uuids128_is_complete = 0;;
108+
fields.uuids128_is_complete = 0;
109109
fields.tx_pwr_lvl = BLE_HS_ADV_TX_PWR_LVL_AUTO;
110110

111111
rsp_fields.name = (uint8_t *)device_name;

nimble/drivers/nrf5x/src/ble_phy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@ ble_phy_init(void)
16611661
#if PHY_USE_HEADERMASK_WORKAROUND
16621662
NVIC_SetVector(CCM_AAR_IRQn, (uint32_t)ble_phy_ccm_isr);
16631663
NVIC_EnableIRQ(CCM_AAR_IRQn);
1664-
NRF_CCM->INTENCLR = CCM_INTENCLR_ENDKSGEN_Msk;;
1664+
NRF_CCM->INTENCLR = CCM_INTENCLR_ENDKSGEN_Msk;
16651665
#endif
16661666
#endif
16671667

nimble/host/mesh/src/friend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static int unseg_app_sdu_decrypt(struct bt_mesh_friend *frnd,
399399
net_buf_simple_clone(buf, in);
400400
net_buf_simple_pull(buf, BT_MESH_NET_HDR_LEN);
401401
net_buf_simple_pull(buf, 1);
402-
in->om_len -= BT_MESH_MIC_SHORT;;
402+
in->om_len -= BT_MESH_MIC_SHORT;
403403

404404
net_buf_simple_clone(in, out);
405405
err = bt_mesh_app_decrypt(meta->key, &meta->crypto, in, out);

nimble/host/src/ble_gap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ ble_gap_conn_broken(uint16_t conn_handle, int reason)
12761276
ble_sm_connection_broken(conn_handle);
12771277
ble_gatts_connection_broken(conn_handle);
12781278
ble_gattc_connection_broken(conn_handle);
1279-
ble_hs_flow_connection_broken(conn_handle);;
1279+
ble_hs_flow_connection_broken(conn_handle);
12801280

12811281
ble_hs_atomic_conn_delete(conn_handle);
12821282

nimble/include/nimble/hci_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ struct ble_hci_ev_hw_error {
17241724
struct comp_pkt {
17251725
uint16_t handle;
17261726
uint16_t packets;
1727-
} __attribute__((packed));;
1727+
} __attribute__((packed));
17281728
struct ble_hci_ev_num_comp_pkts {
17291729
uint8_t count;
17301730
struct comp_pkt completed[0];

0 commit comments

Comments
 (0)