From dcf950ab93c3570336d235270cd947772a2fb762 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 9 Oct 2012 14:11:58 +0200 Subject: storage: Remove not used write_version_info This was used in hciops only. --- src/storage.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/storage.c') 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) { -- cgit v1.2.3