Re: [PATCH] bpf: sockmap: remove redundant pointer sg

From: Daniel Borkmann
Date: Wed Jul 18 2018 - 09:08:24 EST


On 07/17/2018 10:38 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Pointer sg is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'sg' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to bpf-next, thanks Colin!