This optimizes the conditional && clauses in
__connman_connection_gateway_remove to take advantage of stored, local
state in set_default[46] thereby avoiding redundant checks of
do_ipv[46], data->ipv[46]_config, and data->ipv[46]_config->vpn.
Grant Erickson (3):
connection: Fix white space indentation.
connection: Optimize conditional '&&' clauses.
connection: Rename 'set_default[46]' local variables.
src/connection.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)