Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2508640pja; Thu, 26 Mar 2020 16:49:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtGwE2Mrk8M1EXtm5JHZ8OG9uwEGuoPHAPN53DPnGPwXj8Yqvr93SY3rtqOyDWukct6dLnq X-Received: by 2002:aca:4c12:: with SMTP id z18mr2124837oia.43.1585266566839; Thu, 26 Mar 2020 16:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585266566; cv=none; d=google.com; s=arc-20160816; b=0E7oa9P2Eb1mHjvoiPeq8zZIv1E3YGYJaW+r5TBtbqClRbYA4m683za7pNATupGT+e fKW0nfHeFAiYO3jDqlNCKhOjlF+cTD+t2A1OkaZIOl0ZagnjWnVES2z0J922uyc6cnSJ NCuprnCfYImQlj5japjZD3BricnB0IIXhLkbp5+kROVzhIpWg1adoJtcTs7VZjohpvU3 EXrPh2e5lVA8OB3nzn1vJDn9rDHYAfT0zUbpoAkr/Trug3lw2RDzMAOnujYtU3Xj0tXE njE7gBbpyq714wuUIIBzsHYe6LwToY/DJfjkP+5N33Xzpun5EUL8xz1u/c09YdByXtsP yuYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OxfsuJxUwQgyHeL6ML1Ets48AkLBPa97SvcuT6O+r2w=; b=aGbSeY4Y3uIDkJmBTnE7YmFjrLgCH56SAFZfia7aG75EnaMLZFLGHr8mcNbwV1slOL 4HiekM/m4vdfwZ3K3ofgwT4VbAr/l5PBvtpoK61r0Qh32vEcOpzmDf06tRkDXNan/mf3 JpezAJif7I53zRmlg9C3ABFTRwF/VfEPHwZdA4h/FIHZb4aEiCVOj82FCghKdMU1jtpr o5OWml050mt2Nvjz7z5dsNs+MkF1/AUR1oy+rFidUMJbjivMnzC9apFAMAmrM+FiHJOd ZCIpqfkLzsk+HRQp8psBW3wSyX2OCNl8f7BZfwDSBaygVmFDwLU98HoPDR8Gx38Nogpe IV9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAyV60qB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si1637875oti.52.2020.03.26.16.49.11; Thu, 26 Mar 2020 16:49:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAyV60qB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727585AbgCZXsu (ORCPT + 99 others); Thu, 26 Mar 2020 19:48:50 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:40033 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgCZXsu (ORCPT ); Thu, 26 Mar 2020 19:48:50 -0400 Received: by mail-lf1-f65.google.com with SMTP id j17so6371575lfe.7; Thu, 26 Mar 2020 16:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OxfsuJxUwQgyHeL6ML1Ets48AkLBPa97SvcuT6O+r2w=; b=HAyV60qBe3SD5OX4zLRd4QxQKBdm76OMz7aCv0yF0aj3KPd4/r7kOo6qnAwu/ZAF1/ eLn/MJhS9Axh75Ww/wSveVhWZzii5tBVlpQLMybJYFbXPEPu5Bz6n9OoJbHftph+tJkW 3EWuHUDVLo7CF+Uyydqv6bWzIsdAed+fCIUef+47qS3LgFUg4/KMl12NqsiOACYGfcGQ VM3Jf5Lt/RQOdZv9R5TqRy9uLZznlnYTxUBKaEQcPjT2dMLUonFn+v3nuRPA3M7iPYhM 73rhbOBrJvUs4zCeCbHbT1WPQw92bjaredJkoRBunWqfvZEIgGg+OVeVNjiA3r2zvk2t HUQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OxfsuJxUwQgyHeL6ML1Ets48AkLBPa97SvcuT6O+r2w=; b=oQ/rqfgilGvM8/kaJemIrOck5fZ1Upq5NhhmX9Pg5yy8nDdRBI8HqBmXBwqItZYxAe Pciw51mAvOdsx1sKfTelHz+VlNmuX5c9xDU76IKj9AH2rI/BUVCxyfmELV1zgcTavLHu +Z3T5u0A63POTskqsSEhCsaD9ae4srTijvdJd3GAVfa338A3K/IQe94WPsdiiMKkiyjG WX8ScOVjuaaIO6MXWQ3RM7P/QhmzZug56DhAF0LJ8tsXfmivO5kpDFyN/2Y32B35q4hG qeroJ0PUxxoJGh79q4qg6w1bmZnIa1Ci9ZnnVQg0hzSjZ9F2RCiBnMqMNlG6DF4OTeav bCfQ== X-Gm-Message-State: AGi0PuZ04azbDJFtVyFS9TR/vVm66paeo3KyyyGHCqnAvUPT3hPt7dTb VqKWvK8HpE/QFYuJm1HTXs9LWHzScutrqGV6K4Y= X-Received: by 2002:a19:6f02:: with SMTP id k2mr1378706lfc.119.1585266527281; Thu, 26 Mar 2020 16:48:47 -0700 (PDT) MIME-Version: 1.0 References: <20200326031613.19372-1-yuehaibing@huawei.com> In-Reply-To: <20200326031613.19372-1-yuehaibing@huawei.com> From: Alexei Starovoitov Date: Thu, 26 Mar 2020 16:48:35 -0700 Message-ID: Subject: Re: [PATCH bpf-next] bpf: remove unused vairable 'bpf_xdp_link_lops' To: YueHaibing Cc: Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Network Development , bpf , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 8:16 PM YueHaibing wrote: > > kernel/bpf/syscall.c:2263:34: warning: 'bpf_xdp_link_lops' defined but not used [-Wunused-const-variable=] > static const struct bpf_link_ops bpf_xdp_link_lops; > ^~~~~~~~~~~~~~~~~ > > commit 70ed506c3bbc ("bpf: Introduce pinnable bpf_link abstraction") > involded this unused variable, remove it. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied. Thanks