Fix codes for efficiency 26/217026/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 5 Nov 2019 11:52:45 +0000 (20:52 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 7 Nov 2019 06:44:35 +0000 (06:44 +0000)
commit67b70bf18df254ef7b1e4f62349d035d96413663
tree4f8ec3418e62bdb97cc8717907612eb8ab0f2680
parent8bbd4fa38bb7329a077caae6a9e9aa4c0d3abb50
Fix codes for efficiency

- Remove unnecessary privilege checking routine.
- Integrate if statements to remove redundant exit checking routine.

Change-Id: I575e46ae134f1799cd4546491e17f82121c91795
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/shared_dirs.cc
src/common/step/filesystem/step_create_storage_directories.cc
src/common/step/filesystem/step_update_storage_directories.cc