Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp660668lqj; Sun, 2 Jun 2024 16:42:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbsGgOnrpJ2OTIFIil5HOrJSsWD3Oj2YdVTAhwF5/MqhT3miOSwmwMS8nM2I2qsertEQRWITR2kTx4fv9RPxJLJk6KtmMHQVvzONIIaQ== X-Google-Smtp-Source: AGHT+IGEBGsuYjZBrRiUXWkINE0vn/8HOyk4ZyTaSRYw5i9OdXomW0D0mUR4UIAShtqWT6vInGDY X-Received: by 2002:a05:6214:3d9c:b0:6ae:1a96:3ec8 with SMTP id 6a1803df08f44-6aecd6f9246mr88507336d6.53.1717371736693; Sun, 02 Jun 2024 16:42:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717371736; cv=pass; d=google.com; s=arc-20160816; b=plc6UxM7TWUAV1ElJLBcrtF8dmrdNi7Toq1UbG3MjPiK8ClBnurGybd1DWGgZhgIm5 y1X9r42fqVgy6T7O3AHfJjqvhjMnYydi4Jsf7Jo3e6/ewjCzi819uG6A0eYl014XGnJZ JnWzXOe0cYJedWLKveGTyr3q0tv4Flk+7vK5QGn7Hak6J1PGQXzZyYziSmmqGtLYIUyQ TXEgJItDUm8AWVWbQr5C/ASfFty3Kn5rFqaDSDDkFfSkznjlqyzyf1BlfXnVwwxWPzgM GgcuFRDN6l4WsbhM33d8uDg+R4FsxI4FDzPQKK46D4zvHzD744xc84oxvE7FvnNgwBlj hXXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0vSHaCER5RNLud6CSJnQ270WRt2oGu/Uj4sYe/neMus=; fh=0CxQVRN5kZmk18G5ymbpqgOJTyM/Zm/IlIFsUTpYJts=; b=ovt8P3I1dYP7vWEpnRun7mvUVJEaNkC0rHy24JaIj7qMP6MzTj31pi5LlGBFjA3+NN w16nr/wwEYripTSoXdhIL2M9LWhe8hVbtaE99s9CmEiihEqnjImPaQaOstQMp1Vadcg4 AxiF0+bm2dfg0qciql/ZQlrnjarzgSZ51AqnDhpMdoXZ1DeWlYDzJfWpC2RpgcaFcKqm ++/gFsRevSgm3IddpSG9aSN+mlMbtW0JftMIHsZURSnLR2i5PKvlj9NRyCqxsAzpVRoD rm5kuWoPkrtuCYLsqmCEyOpMDZ7+dTtx9VqkRw5vcEpGZpPS48IPeJ7uvI6vskd9AJkR T5Ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=f6G29Vwl; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-198491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42be92si75922736d6.515.2024.06.02.16.42.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 16:42:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=f6G29Vwl; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-198491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 46AC81C214CC for ; Sun, 2 Jun 2024 23:42:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B7D482487; Sun, 2 Jun 2024 23:41:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="f6G29Vwl" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6333C7F48E; Sun, 2 Jun 2024 23:41:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717371703; cv=none; b=bsxcJJRpc0Er0EADfTpDSSBFi5979mboeNh0XLBkSeLPhD4bNNVTNfz36dTvj6NfHXyDkxkDFja40W+6EzASWZ5rivLb1UURfz6PheTceS8d8fMRyhNVSF/+lZz0UDe0t4AHDsrWqqoF4LvgJcORfYQfq6mk/wwD3aRaHh8EIuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717371703; c=relaxed/simple; bh=lTt0hR7LrlfS0w20RIwK96pw0np9sANpdXGv9S0898U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QnCYS4YAl5sov49Biqx8N8CdvyJ773itH83v+t9JqFez0kOzqsFUMWuB8nNMh7j4VxNzHFqKkf8IdJqyG+JEy6h7WyJV//o3id09EHm0V75g2YyZHVItogb1m2/Iat8KAtcp8XKtzGBBRf1+d+BPes07IqcxuglerWI6aEBqf5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=f6G29Vwl; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=0vSHaCER5RNLud6CSJnQ270WRt2oGu/Uj4sYe/neMus=; b=f6G29VwlfzCoz9aJ rWiwIH77dURfoo9YYoSiWZvDhLzI1CPFhYZOl/qcrZbQ7ErT7AbBwffm3LmF4dpFnJ9NEhjyokBVi 1llp5VRNGK6dzyMlCD11XTDcf6o8v4rxAOK1w32A+aKNtezK5RE4randFUn2DYh3gR3D+bYhenxCy rEvefHBf6MiQ/BBimwxrRzy9jEHOjpNbuhVNttKQGMETBgQni9HQsxv6B+4lvJMMA95aBu2VOjzzh bwJ3YxqODkpsCdwDTctaNqCIEEspE28fDJq4DiRMYeGqC++BlZTIakeeK3G9Hx9rb9C/IeKy8XJVf Hgrh5HEjhLcOw59ynA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDupV-003r31-0b; Sun, 02 Jun 2024 23:41:37 +0000 From: linux@treblig.org To: andrii@kernel.org, eddyz87@gmail.com, mykolal@fb.com, kpsingh@kernel.org, shuah@kernel.org Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/3] selftests/bpf: remove unused struct 'libcap' Date: Mon, 3 Jun 2024 00:41:12 +0100 Message-ID: <20240602234112.225107-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240602234112.225107-1-linux@treblig.org> References: <20240602234112.225107-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'libcap' is unused since commit b1c2768a82b9 ("bpf: selftests: Remove libcap usage from test_verifier"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- tools/testing/selftests/bpf/test_verifier.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c index df04bda1c927..610392dfc4fb 100644 --- a/tools/testing/selftests/bpf/test_verifier.c +++ b/tools/testing/selftests/bpf/test_verifier.c @@ -1237,11 +1237,6 @@ static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, fixup_prog_kfuncs(prog, fd_array, test->fixup_kfunc_btf_id); } -struct libcap { - struct __user_cap_header_struct hdr; - struct __user_cap_data_struct data[2]; -}; - static int set_admin(bool admin) { int err; -- 2.45.1