aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-08-03 15:12:14 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:48 -0400
commitb862c11182878b19031dd491697c02b44fde269b (patch)
treee86ecbda8c33459d06e229e15a31d0b93dcc2dbf /attrib/client.c
parent754fce193b32950f83eb425ab025916aec310e0e (diff)
downloadbluez-b862c11182878b19031dd491697c02b44fde269b.tar.gz
bluez-b862c11182878b19031dd491697c02b44fde269b.tar.xz
bluez-b862c11182878b19031dd491697c02b44fde269b.zip
Remove unused parameter for register_characteristics function
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 36e92129..2dd88a31 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -238,8 +238,7 @@ static void store_characteristics(struct gatt_service *gatt,
g_free(characteristics);
}
-static void register_characteristics(struct gatt_service *gatt,
- struct primary *prim)
+static void register_characteristics(struct primary *prim)
{
GSList *lc;
@@ -317,7 +316,7 @@ static void load_characteristics(gpointer data, gpointer user_data)
return;
prim->chars = chrs_list;
- register_characteristics(gatt, prim);
+ register_characteristics(prim);
return;
}
@@ -334,7 +333,7 @@ static void char_discovered_cb(guint8 status, const guint8 *pdu, guint16 plen,
if (status == ATT_ECODE_ATTR_NOT_FOUND) {
store_characteristics(gatt, prim);
- register_characteristics(gatt, prim);
+ register_characteristics(prim);
g_free(current);
return;
}