summaryrefslogtreecommitdiff
path: root/src
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
parenta77aa417a13205af360c318a809dd99c7d92c484 (diff)
storage: Remove not used write_version_info
This was used in hciops only.
Diffstat (limited to 'src')
-rw-r--r--src/storage.c17
-rw-r--r--src/storage.h3
2 files changed, 0 insertions, 20 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)
{
diff --git a/src/storage.h b/src/storage.h
index 0a91d477..e19e67f9 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -50,9 +50,6 @@ int write_device_name(const bdaddr_t *local, const bdaddr_t *peer,
uint8_t peer_type, const char *name);
int read_device_name(const char *src, const char *dst, uint8_t dst_type,
char *name);
-int write_version_info(const bdaddr_t *local, const bdaddr_t *peer,
- uint16_t manufacturer, uint8_t lmp_ver,
- uint16_t lmp_subver);
int write_features_info(const bdaddr_t *local, const bdaddr_t *peer,
unsigned char *page1, unsigned char *page2);
int read_remote_features(const bdaddr_t *local, const bdaddr_t *peer,