Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp508912imm; Wed, 18 Jul 2018 06:09:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfJ1xWaXCgH0VfryQ/bNUm63eMjx0W5z6zJFfAz77gpZwD6p9nq4DEMuMKfKiUtq6tp5o2p X-Received: by 2002:a17:902:4324:: with SMTP id i33-v6mr5834419pld.43.1531919358677; Wed, 18 Jul 2018 06:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531919358; cv=none; d=google.com; s=arc-20160816; b=Tx4WOXrS9LsyttiJ7Oze0bzOxH/7o83ik8nur5c8cd/tex6QJuJNfK3gznGNPOhHCA GrHGnOmdUnA4GrTZKHt9wkgpcl47TaTOwjPPKjc687PmX2/1ze3+QQ4wy46fyDQDgdA2 +9YL2jmEySWTN6dGQHsWpGSlaeU3GELtbh0pbHfrETG7uy/ORRq22QCPh8YVsNkudci1 PcGnJQL/ooq8IOsm6QHiMX9mMnB48pnynw3HbVVLx0Kge35+YkdgjqU7gKrYzIBPqn43 3RiODDvzZz9f+XqCaX9MsnYChXEtsW2KMbWdNFN4eFDYGVz2KnpsywkCJiMREAFoU85V b0tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=UX2JV15ODQlulJUBoLtnwZhG/oTWyoY3xnEYnJIb1RU=; b=WGReMQOir4iM7X8WY+Gadyoh2DgCFt+qnRBjdDk5AvFZnh7xGgYCxeSfYFrLyjGQ2/ z71nDpfJHuVrr+X6TSr+ECGL/RLamJ/2b4Urds9xuSWV2gCXgFS2hbCUkatavzGuL+tw wBZ9T3vq44/6P7sa9bCV/JJcTU//Lp0kLS/i+NUxrqFhFTvppOVBXyTzdrTrWhhoATU/ Irb6hpmxKyY2QFu2yeyyc+Wq9aYOfy9MsiznfGqsWGaBbstfdjjobxVMX83w6nunL9Dg NORu/8Y2F39OJt4sH1VjJCm+41e3YhTbNengn/J/VBWPCLSaFmnrVJCPwEFW2TYl6PrQ H6Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d192-v6si3226811pgc.504.2018.07.18.06.09.03; Wed, 18 Jul 2018 06:09:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730974AbeGRNqN (ORCPT + 99 others); Wed, 18 Jul 2018 09:46:13 -0400 Received: from www62.your-server.de ([213.133.104.62]:48581 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730567AbeGRNqN (ORCPT ); Wed, 18 Jul 2018 09:46:13 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1ffmBo-0006Bh-Ot; Wed, 18 Jul 2018 15:08:20 +0200 Received: from [62.203.87.61] (helo=linux.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ffmBo-000FMj-KY; Wed, 18 Jul 2018 15:08:20 +0200 Subject: Re: [PATCH] bpf: sockmap: remove redundant pointer sg To: Colin King , Alexei Starovoitov , netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180717083859.17525-1-colin.king@canonical.com> From: Daniel Borkmann Message-ID: Date: Wed, 18 Jul 2018 15:08:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180717083859.17525-1-colin.king@canonical.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.0/24760/Tue Jul 17 06:40:15 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/17/2018 10:38 AM, Colin King wrote: > From: Colin Ian King > > 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 Applied to bpf-next, thanks Colin!