OSDN Git Service

Code cleanup - remove unnecessary commented out code
authorWei Wang <weiwa@google.com>
Wed, 2 Jul 2014 18:34:08 +0000 (11:34 -0700)
committerWei Wang <weiwa@google.com>
Wed, 2 Jul 2014 18:34:08 +0000 (11:34 -0700)
Change-Id: I86e78d1b0470b9fda7455ae8ef5788814cf5c780

stack/l2cap/l2c_ble.c
vnd/ble/vendor_ble.c

index fe827e3..c958625 100644 (file)
@@ -630,7 +630,6 @@ BOOLEAN l2cble_init_direct_conn (tL2C_LCB *p_lcb)
     if (p_dev_rec->ble.active_addr_type == BTM_BLE_ADDR_RRA)
     {
         init_addr_type = BLE_ADDR_RANDOM;
-        //memcpy(init_addr, p_dev_rec->ble.cur_rand_addr, BD_ADDR_LEN);
     }
     /* if privacy is on and current do not consider using reconnection address */
     if (btm_cb.ble_ctr_cb.privacy ) /* && p_dev_rec->ble.use_reconn_addr */
index d84efd3..d7eea43 100644 (file)
@@ -275,11 +275,6 @@ void btm_ble_vendor_irk_vsc_op_cmpl (tBTM_VSC_CMPL *p_params)
 
     evt_len--;
 
-    /*if (evt_len < 2 )
-    {
-        BTM_TRACE_ERROR("can not interpret IRK  VSC cmpl callback");
-        return;
-    }*/
     op_subcode   = *p ++;
     BTM_TRACE_DEBUG("btm_ble_vendor_irk_vsc_op_cmpl op_subcode = %d", op_subcode);
     if (evt_len < 2 )