resolved the code rule warnings
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-hid-dbus-handler.c
index c5b16b4..5a5ff36 100644 (file)
@@ -100,13 +100,13 @@ bt_status_t _bt_hal_dbus_handler_hidhost_connect(bt_bdaddr_t *bd_addr)
        int ret;
        char *uuid;
 
-       if(!bd_addr) {
+       if (!bd_addr) {
                ERR("bd_addr is NULL, return");
                return BT_STATUS_PARM_INVALID;
        }
 
        conn = _bt_hal_get_system_gconn();
-       if(!conn) {
+       if (!conn) {
                ERR("_bt_hal_get_system_gconn returned NULL, return");
                return BT_STATUS_FAIL;
        }
@@ -178,13 +178,13 @@ bt_status_t _bt_hal_dbus_handler_hidhost_disconnect(bt_bdaddr_t *bd_addr)
        int ret;
        char *uuid;
 
-       if(!bd_addr) {
+       if (!bd_addr) {
                ERR("bd_addr is NULL, return");
                return BT_STATUS_PARM_INVALID;
        }
 
        conn = _bt_hal_get_system_gconn();
-       if(!conn) {
+       if (!conn) {
                ERR("_bt_hal_get_system_gconn returned NULL, return");
                return BT_STATUS_FAIL;
        }