diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2017-09-28 17:14:52 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-10-06 20:35:47 +0200 |
commit | a297641610963bbb238ea77b32a2e958c4f7b184 (patch) | |
tree | 6a2146816ab8ceeeb884efb835491614961370f4 /mm/slab.h | |
parent | 47eb2ac809189e0a60ad78eec6db9e84004e11be (diff) |
Bluetooth: ecdh_helper - reveal error codes
ecdh_helper functions were hiding the error codes and chose to return
the return value of an relational operator, "==". Remove the unnecessary
query and reveal the error codes.
While updating the return values, code in a way that compilers will
warn in case of uninitialized err.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions