summaryrefslogtreecommitdiffstats
path: root/src/storage.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-04 15:59:46 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-04 15:59:46 +0200
commit96594e2e4fbba5d358c426c873865ab7003939f6 (patch)
tree9ff52fbb87bdaab71e01d161858f8544b5784c27 /src/storage.c
parent20939728e781a3afd8764486e031af0eb598428a (diff)
Remove unnecessary and incorrect memset
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/storage.c b/src/storage.c
index 5c1a973d..899ea302 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -395,7 +395,6 @@ int read_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data)
return -EIO;
}
- memset(str, 0, sizeof(str));
for (i = 0; i < 240; i++)
sscanf(str + (i * 2), "%02hhX", &data[i]);