gateway: minor simplification in olsr_delete_gateway_entry
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 18 Oct 2012 08:57:13 +0000 (10:57 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 24 Oct 2012 12:17:49 +0000 (14:17 +0200)
commit1544d75edaf0086c365d7df6489503337d9699b3
tree1ed46a7707c5f1503b2ca8029c04ef6ea40b02ee
parentad41be317603a27492bbf089101f71bc5f542e36
gateway: minor simplification in olsr_delete_gateway_entry

Do an early return if the gw is NULL

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/gateway.c