Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp660603lqj; Sun, 2 Jun 2024 16:42:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXi9cGR3Vfi2nOuImAjgMg0CCvQOFDE8WB5fZjagWxrq70XfzikQntZkKtgj2dvn624uPtX7nsOKLVd1IMGL4xFgqFXCo0zvsJuFli1GQ== X-Google-Smtp-Source: AGHT+IG9NUqVsJbxWJYwe92Tgs/BUexW2VYlGaxWNQmmVM882VPdRXsifDTHcrRyCc1Bz3xvQ8k4 X-Received: by 2002:a05:620a:40d5:b0:794:ad5f:1918 with SMTP id af79cd13be357-794f5c96124mr1003608685a.38.1717371723554; Sun, 02 Jun 2024 16:42:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717371723; cv=pass; d=google.com; s=arc-20160816; b=Kc8KAzma2k5xVvRBhuR0fCyT10YkZ16ZGyxtI0kQ6WLtvF6ADQ8EalkrEUa3dRcIeJ hMt3XFaiRuzVi6yOI9Q1Q1nvkHDrIjkb6pbjt+JmAYf54HfSkfPpm5HZsI3Ano8Gjf1d DY8wl+/Y0rtjWDmeHx3JTUc+5fMc76B/OyonmMymEC1N2uy1ad8TpZ5tqHkMYWrzoITK 5q1GwUwsKlw5J9e/FznQd9cBkpyiRTILOls7ILP1oLIsTFpf5C8l/j32LNRefhj5XHhC DtwoUuitVWn0g/3Ixsf/kD8b6KDwGw35DH/yJNqB4ULRW/vHrsiSNrWDua0meOM6lJ7Y gkaA== 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=zX3TyGNSYngLo35oMux7SV/aojpQ1E9+PViunZCVohw=; fh=0CxQVRN5kZmk18G5ymbpqgOJTyM/Zm/IlIFsUTpYJts=; b=isvwndjcRRi/IXryzY5FUeMYnHq4r4nKXqCKyWfLrZ8miuRcNqMAsO3sq8QeI0jnYI tvq6MdtEbW4ddP0rkzxFZQOMqb6eMhT/muQEBTPSJ5MygCLlRrNYOaRUwVe6Q0cq2bID nnfXHuV4z18ys8cJPZV/pBixP8C+dZGw369Rj/1Dua90/7ON36PuYCQ5CA6avfZL2n2O 7zLuSv5UtsyVnzEZ/On2Rf3srVJ7o71w0gxpwnHqaDQrkYnbzK2MMc5p3QVB5ceumAv/ 92sI6r7TWmIZTmFU1P0byos/gQNoHleeg8IDP5Bi7m2aXxlOOgTp0xBvrYKoPilQsY+a 9zkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=svwa5Qta; 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-198490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198490-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f3062fdesi825278785a.352.2024.06.02.16.42.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 16:42:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=svwa5Qta; 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-198490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198490-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 1F5731C2146D for ; Sun, 2 Jun 2024 23:42:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 297837EF0C; Sun, 2 Jun 2024 23:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="svwa5Qta" 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 D73A78060D; Sun, 2 Jun 2024 23:41:38 +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=1717371700; cv=none; b=JPXgObCUtOqBGd6dx8iaVdzzPTg9Y/dZdPmZ/253pjqiEnOZvpfZqr2nVGGzQXF2c363Aov6V9pjXIKd7xRPtvhg0fosyvreiTPv4d7+0CKxvfhgOlvmaNtyG1AwxpZdjMy7LUbUWnznh7QH4czBF0M2Mr5ZRqWZ3OrSVQacMNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717371700; c=relaxed/simple; bh=kQvJvtQkbytKL8eBkVTemEwkHweoymD3c2FocRBrZ9c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gBr1pbCQYMHXm0c6MXq4TN52rSxfSRdMLmmA02+wINEq4qK87tigEmLBOR2XNHoL42Z80rlv13FWASSuKq46F0bJoZUb6FIlOa/IEX+RjYyEQL4moVA/MyXPSV7yNVffDqjNAKatnVF2CsBtFJAYk9HfG3mjd0ZbNpab54hI0Kg= 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=svwa5Qta; 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=zX3TyGNSYngLo35oMux7SV/aojpQ1E9+PViunZCVohw=; b=svwa5Qta00o2kyN4 3uRn8Ly4fw+nptaTiWOox80ilOIj2cKnVu2AjfUwF0iBbseiH0pyWtsZqmT3/MS9U/lgDBJacrTgw de2+ig3M/uVRlroSQ57wFR7+3xOiX108CBtC24XUzLtR57XDVnuEaELEW1WXtZEg4/aDFrBV7a97f RJj9cBdoOOg3NzWKJujDxcsAaohD062lZE6RAjmkGaYQ74CF23r8mmtUwKYrE1Mv5AHGG1q5R1mXr wid2ZcXbpWO/XUxsd7b9ohu/OtKrMr6N3ZCKZ8sPUEMnXh6wjOqJVS0cldPVqYBtzMa8l8rLjDK0l wRutKtPhvzQ45rTtVA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDupS-003r31-1A; Sun, 02 Jun 2024 23:41:34 +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 2/3] selftests/bpf: remove unused 'key_t' structs Date: Mon, 3 Jun 2024 00:41:11 +0100 Message-ID: <20240602234112.225107-3-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" 'key_t' is unused in a couple of files since the original commit 60dd49ea6539 ("selftests/bpf: Add test for bpf array map iterators"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c | 6 ------ .../selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c b/tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c index c5969ca6f26b..564835ba7d51 100644 --- a/tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c +++ b/tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c @@ -6,12 +6,6 @@ char _license[] SEC("license") = "GPL"; -struct key_t { - int a; - int b; - int c; -}; - struct { __uint(type, BPF_MAP_TYPE_ARRAY); __uint(max_entries, 3); diff --git a/tools/testing/selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c b/tools/testing/selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c index 85fa710fad90..9f0e0705b2bf 100644 --- a/tools/testing/selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c +++ b/tools/testing/selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c @@ -6,12 +6,6 @@ char _license[] SEC("license") = "GPL"; -struct key_t { - int a; - int b; - int c; -}; - struct { __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); __uint(max_entries, 3); -- 2.45.1