--- android/android-tester.c | 4 ++-- android/bluetooth.c | 2 +- android/ipc-tester.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/android-tester.c b/android/android-tester.c index e4f95ce..ba9137a 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -518,7 +518,7 @@ static void emulator(int pipe, int hci_index) memset(buf, 0, sizeof(buf)); len = read(fd, buf, sizeof(buf)); - if (len <= 0 || (strcmp(buf, "bluetooth.start=daemon"))) + if (len <= 0 || strcmp(buf, "bluetooth.start=daemon")) goto failed; close(pipe); @@ -1985,7 +1985,7 @@ static bool setup(struct test_data *data) data->bluetoothd_pid = pid; len = read(signal_fd[0], buf, sizeof(buf)); - if (len <= 0 || (strcmp(buf, EMULATOR_SIGNAL))) { + if (len <= 0 || strcmp(buf, EMULATOR_SIGNAL)) { close(signal_fd[0]); return false; } diff --git a/android/bluetooth.c b/android/bluetooth.c index 339fd77..cb1b87a 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -74,7 +74,7 @@ #define DEVICES_CACHE_MAX 300 #define BASELEN_PROP_CHANGED (sizeof(struct hal_ev_adapter_props_changed) \ - + (sizeof(struct hal_property))) + + sizeof(struct hal_property)) #define BASELEN_REMOTE_DEV_PROP (sizeof(struct hal_ev_remote_device_props) \ + sizeof(struct hal_property)) diff --git a/android/ipc-tester.c b/android/ipc-tester.c index e1aeb2e..ec8d3ff 100644 --- a/android/ipc-tester.c +++ b/android/ipc-tester.c @@ -264,7 +264,7 @@ static void emulator(int pipe, int hci_index) memset(buf, 0, sizeof(buf)); len = read(fd, buf, sizeof(buf)); - if (len <= 0 || (strcmp(buf, "ctl.start=bluetoothd"))) + if (len <= 0 || strcmp(buf, "ctl.start=bluetoothd")) goto failed; close(pipe); -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html