From 8cdfae35c1e842391231b3301208a7f71e13c452 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 25 Jun 2014 12:09:26 +0300 Subject: [PATCH] android/hog: Fix code style --- android/hog.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/android/hog.c b/android/hog.c index d42400d26..fccc992c5 100644 --- a/android/hog.c +++ b/android/hog.c @@ -193,7 +193,6 @@ static void report_reference_cb(guint8 status, const guint8 *pdu, static void external_report_reference_cb(guint8 status, const guint8 *pdu, guint16 plen, gpointer user_data); - static void discover_descriptor_cb(uint8_t status, GSList *descs, void *user_data) { @@ -607,8 +606,7 @@ static void char_discovered_cb(uint8_t status, GSList *chars, void *user_data) report = g_new0(struct report, 1); report->hog = hog; report->decl = g_memdup(chr, sizeof(*chr)); - hog->reports = g_slist_append(hog->reports, - report); + hog->reports = g_slist_append(hog->reports, report); discover_descriptor(hog->attrib, start, end, report); } else if (bt_uuid_cmp(&uuid, &report_map_uuid) == 0) { gatt_read_char(hog->attrib, chr->value_handle, @@ -629,8 +627,7 @@ static void char_discovered_cb(uint8_t status, GSList *chars, void *user_data) } if (info_handle) - gatt_read_char(hog->attrib, info_handle, info_read_cb, - hog); + gatt_read_char(hog->attrib, info_handle, info_read_cb, hog); } static void report_free(void *data) -- 2.47.3