Hi, Here is a set of cleanup patches. The first four are not supposed to change any functionality but instead provide a bit better readability in the code.
The four later ones are also not supposed to change any functionality, but they are far more invasive than the first four ones as they relate to passphrase handling. Please review, Patrik Patrik Flykt (8): service: Clean up multiple if statements with a case statement service: Clean up two consecutive if statements. service: Clean up __connman_service_ipconfig_indicate_state() network: Remove unused function connman_network_clear_error() service: Make a specifig function for clearing a passphrase on error service: Clean up the passphrase setting logic service: Use proper function when setting service Passphrase attribute service: Remove __connman_service_add_passphrase() include/network.h | 1 - src/connman.h | 2 - src/network.c | 18 +---- src/service.c | 200 ++++++++++++++++++++++++++++-------------------------- 4 files changed, 104 insertions(+), 117 deletions(-) -- 1.9.1 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman