Re: [PATCH] gtp: simplify error handling code in 'gtp_encap_enable()'

From: Simon Horman
Date: Mon Jan 06 2020 - 03:59:47 EST

On Sun, Jan 05, 2020 at 06:36:07PM +0100, Christophe JAILLET wrote:
> 'gtp_encap_disable_sock(sk)' handles the case where sk is NULL, so there
> is no need to test it before calling the function.
> This saves a few line of code.
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxxx>