commit | aabd8e7fa06557959565fc79c380cb190c2eed38 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Tue Dec 04 12:15:28 2018 -0800 |
committer | Andrew Boie <andrewboie@gmail.com> | Tue Dec 11 14:37:10 2018 -0800 |
tree | aa9b798af6fb0eb2f64b17159e68a96d4399f947 | |
parent | f4e07f494a186f2fc73fe08ae089d00657bf97d2 [diff] |
logging: Simplify function to get number of log backends As we subtracting pointers of the same type, it is not necessary cast it to u8_t. This simplify and avoid some MISRA-C violations, e.g rule 11.8. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>