diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_drv.c b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_drv.c deleted file mode 100644 index 0b7df1b2d5..0000000000 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_drv.c +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright (c) 2009-2019 Arm Limited - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "hci_mbed_os_adaptation.h" - -uint16_t hciDrvWrite(uint8_t type, uint16_t len, uint8_t *pData) -{ - // forward write to mbed os. - return hci_mbed_os_drv_write(type, len, pData); -} diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_mbed_os_adaptation.h b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_mbed_os_adaptation.h index a0e9ea4cf6..843f479a04 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_mbed_os_adaptation.h +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_mbed_os_adaptation.h @@ -33,7 +33,6 @@ extern "C" { * * @note type parameter allows the driver layer to prepend the data with a * header on the same write transaction. - * @note mbed os wrapper of hciDrvWrite */ uint16_t hci_mbed_os_drv_write(uint8_t type, uint16_t len, uint8_t *pData);