summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Janssen <jamuraa@chromium.org>2014-10-29 19:45:36 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-10-31 15:48:00 +0200
commit9e02ecba3ed8ceefa51100b8327d637b6461fc1c (patch)
tree50cbd68be11dcb26fc06c158d799d3bba2aa546c
parentd5600f9918a0d2b6e9c5ea117574c2b0f5520926 (diff)
downloadbluez-9e02ecba3ed8ceefa51100b8327d637b6461fc1c.tar.gz
Remove unused g_attrib_set_debug function
This function is not used, and also not implemented.
-rw-r--r--attrib/gattrib.c5
-rw-r--r--attrib/gattrib.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 912dffb15..71d1cefd5 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -651,11 +651,6 @@ gboolean g_attrib_cancel_all(GAttrib *attrib)
return ret;
}
-gboolean g_attrib_set_debug(GAttrib *attrib,
- GAttribDebugFunc func, gpointer user_data)
-{
- return TRUE;
-}
uint8_t *g_attrib_get_buffer(GAttrib *attrib, size_t *len)
{
diff --git a/attrib/gattrib.h b/attrib/gattrib.h
index 3fe92c74a..18df2ade4 100644
--- a/attrib/gattrib.h
+++ b/attrib/gattrib.h
@@ -58,9 +58,6 @@ guint g_attrib_send(GAttrib *attrib, guint id, const guint8 *pdu, guint16 len,
gboolean g_attrib_cancel(GAttrib *attrib, guint id);
gboolean g_attrib_cancel_all(GAttrib *attrib);
-gboolean g_attrib_set_debug(GAttrib *attrib,
- GAttribDebugFunc func, gpointer user_data);
-
guint g_attrib_register(GAttrib *attrib, guint8 opcode, guint16 handle,
GAttribNotifyFunc func, gpointer user_data,
GDestroyNotify notify);