diff options
author | Elliott Hughes <enh@google.com> | 2015-03-18 20:17:31 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-18 20:17:31 -0700 |
commit | 0dccc888bd1d48acf412edd2b5279e5d1040b156 (patch) | |
tree | 39e7d54bbd1c1cfda644b579564470aedb6dc6aa /init/init.cpp | |
parent | 5aa097c8a7b9326e1add7a23bf4d31febd25127b (diff) | |
download | core-0dccc888bd1d48acf412edd2b5279e5d1040b156.tar.gz core-0dccc888bd1d48acf412edd2b5279e5d1040b156.tar.bz2 core-0dccc888bd1d48acf412edd2b5279e5d1040b156.zip |
Remove useless memset from init.
Change-Id: Ia880810bb2c9a976dceeb0ffdba0cb98e69e3c6d
Diffstat (limited to 'init/init.cpp')
-rw-r--r-- | init/init.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/init.cpp b/init/init.cpp index 3c6e8a45f..e1c82a474 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -679,7 +679,6 @@ ret: if (urandom_fd != -1) { close(urandom_fd); } - memset(buf, 0, sizeof(buf)); return result; } |