diff --git a/src/storage.c b/src/storage.c
index 28abeb3..8b634ba 100644
--- a/src/storage.c
+++ b/src/storage.c
}
return NULL;
}
-
-int read_device_pairable(const bdaddr_t *bdaddr, gboolean *mode)
-{
- char filename[PATH_MAX + 1], *str;
-
- create_filename(filename, PATH_MAX, bdaddr, "config");
-
- str = textfile_get(filename, "pairable");
- if (!str)
- return -ENOENT;
-
- *mode = strcmp(str, "yes") == 0 ? TRUE : FALSE;
-
- free(str);
-
- return 0;
-}
diff --git a/src/storage.h b/src/storage.h
index 53e9834..4c5ab50 100644
--- a/src/storage.h
+++ b/src/storage.h
int read_local_name(const bdaddr_t *bdaddr, char *name);
sdp_record_t *record_from_string(const char *str);
sdp_record_t *find_record_in_list(sdp_list_t *recs, const char *uuid);
-int read_device_pairable(const bdaddr_t *local, gboolean *mode);