summaryrefslogtreecommitdiff
path: root/attrib
diff options
context:
space:
mode:
authorMichael Janssen <jamuraa@chromium.org>2014-11-05 18:15:09 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-11-06 17:39:14 +0200
commitc6cd3f52e4dd505cd7f265ee783ae975065a90dc (patch)
tree0ccb0897aa05d4f5676d643f42062aa168a080d7 /attrib
parent7353c6a4de4978ebc29fea6ae5f9399fb0d2aa5e (diff)
downloadbluez-c6cd3f52e4dd505cd7f265ee783ae975065a90dc.tar.gz
gattrib: Remove unused GATTRIB_ALL_EVENTS
In prep to use shared stack, this is unused and not functionally supported by bt_att.
Diffstat (limited to 'attrib')
-rw-r--r--attrib/gattrib.c3
-rw-r--r--attrib/gattrib.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index f67843534..fa51b6d49 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -391,9 +391,6 @@ static bool match_event(struct event *evt, const uint8_t *pdu, gsize len)
{
guint16 handle;
- if (evt->expected == GATTRIB_ALL_EVENTS)
- return true;
-
if (is_request(pdu[0]) && evt->expected == GATTRIB_ALL_REQS)
return true;
diff --git a/attrib/gattrib.h b/attrib/gattrib.h
index 1557b9991..2ed57c12a 100644
--- a/attrib/gattrib.h
+++ b/attrib/gattrib.h
@@ -28,7 +28,6 @@
extern "C" {
#endif
-#define GATTRIB_ALL_EVENTS 0xFF
#define GATTRIB_ALL_REQS 0xFE
#define GATTRIB_ALL_HANDLES 0x0000