From 83ee92bab3eb72c57edccafb2d688153f16428d0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Dec 2012 12:31:08 +0200 Subject: [PATCH] core: Remove unused sdp_get_access_list function --- src/sdpd-database.c | 5 ----- src/sdpd.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/sdpd-database.c b/src/sdpd-database.c index dd492bf3d..177ca9662 100644 --- a/src/sdpd-database.c +++ b/src/sdpd-database.c @@ -287,11 +287,6 @@ sdp_list_t *sdp_get_record_list(void) return service_db; } -sdp_list_t *sdp_get_access_list(void) -{ - return access_db; -} - int sdp_check_access(uint32_t handle, bdaddr_t *device) { sdp_list_t *p = access_locate(handle); diff --git a/src/sdpd.h b/src/sdpd.h index 83d2b0361..9a0700bbf 100644 --- a/src/sdpd.h +++ b/src/sdpd.h @@ -64,7 +64,6 @@ sdp_record_t *sdp_record_find(uint32_t handle); void sdp_record_add(const bdaddr_t *device, sdp_record_t *rec); int sdp_record_remove(uint32_t handle); sdp_list_t *sdp_get_record_list(void); -sdp_list_t *sdp_get_access_list(void); int sdp_check_access(uint32_t handle, bdaddr_t *device); uint32_t sdp_next_handle(void); -- 2.47.3