Commit: 510224f47cc9b487ebf3a5678bcfc7111c7f462e
Parent: 022b6d9cc26b3437010bff11372a1c2a94cdb1df
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-06-13 00:36:38
Tree: 3b542149905d4e6deb404acbbdce5b57588b8090

mesh: Remove redundant checks when adding a net key This patch cleans up redundant checks in add_key() and mesh_net_set_key(): no need to check the result of l_queue_push_tail() and no need to check if subnet is valid after it was successfully created.

Diffstat

M mesh/net.c | 19 ++++++++- - - - - - - - - - -

1 files changed, 8 insertions(+), 11 deletions(-)

View Full Diff | Patch