summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-09 14:11:58 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-09 18:37:35 +0200
commitdcf950ab93c3570336d235270cd947772a2fb762 (patch)
tree626c88dd6761e57215ae0828c1f107845d18ce64 /src/storage.c
parenta77aa417a13205af360c318a809dd99c7d92c484 (diff)
storage: Remove not used write_version_info
This was used in hciops only.
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/storage.c b/src/storage.c
index d4189c56..4dc2d172 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -435,23 +435,6 @@ done:
return 0;
}
-int write_version_info(const bdaddr_t *local, const bdaddr_t *peer,
- uint16_t manufacturer, uint8_t lmp_ver,
- uint16_t lmp_subver)
-{
- char filename[PATH_MAX + 1], addr[18], str[16];
-
- memset(str, 0, sizeof(str));
- sprintf(str, "%d %d %d", manufacturer, lmp_ver, lmp_subver);
-
- create_filename(filename, PATH_MAX, local, "manufacturers");
-
- create_file(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
-
- ba2str(peer, addr);
- return textfile_put(filename, addr, str);
-}
-
int write_features_info(const bdaddr_t *local, const bdaddr_t *peer,
unsigned char *page1, unsigned char *page2)
{