Remove duplicated check logic and incorrect return type 32/189032/1
authorWootak Jung <wootak.jung@samsung.com>
Thu, 13 Sep 2018 02:15:14 +0000 (11:15 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 13 Sep 2018 02:15:14 +0000 (11:15 +0900)
Change-Id: I5be38b4424e2f8418d06af82c63b4de90b062651

bt-api/bt-dpm.c

index 4b18373..b7767b2 100644 (file)
@@ -248,7 +248,6 @@ static bt_dpm_status_e _bt_check_dpm_spp_restriction(void)
 int _bt_check_dpm(int service, void *param)
 {
        bt_dpm_status_e status = BT_DPM_ALLOWED;
-       BT_CHECK_ENABLED_ANY(return);
 
        switch (service) {
        case BT_DPM_HF_ONLY: