device: Fix codying style
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 29 Sep 2020 00:03:29 +0000 (17:03 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
Single line statements don't require curly braces.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c

index 7b78fde..bfa284a 100644 (file)
@@ -9294,9 +9294,8 @@ void device_bonding_complete(struct btd_device *device, uint8_t bdaddr_type,
                 * treated as a newly discovered device.
                 */
                if (!device_is_paired(device, bdaddr_type) &&
-                               !device_is_trusted(device)) {
+                               !device_is_trusted(device))
                        btd_device_set_temporary(device, true);
-               }
 
                device_bonding_failed(device, status);
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY