device: Fix bogus errors on load_att_info
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 15 Dec 2021 22:48:07 +0000 (14:48 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:38 +0000 (19:08 +0530)
commit9534a4e704b3d8091410db31be21cb6ddc7378cb
tree943433bced4787d037d94e022a3c4c85540c4a13
parent53a3e794616de33a56485541190c26b9366a5d9d
device: Fix bogus errors on load_att_info

load_att_info would attempt to load attributes file from the storage but
in case it doesn't exists it would print an error instead of just
bailing out as attributes file is created on demand when there are
something to be stored.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c