Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp760178lqh; Fri, 31 May 2024 16:29:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoa5Xp7GuQNKRpvRKQcZEvnbVv7Lp13GWFQwDD8+m6NJHJ6Yd+gv2R0COXc3dUGP/s5kwLshxDBqRZAuol5eP5Dk40tNM0FSsYewAlwQ== X-Google-Smtp-Source: AGHT+IGsLMCz21cyioj9B6iRlhW5d5drZvUOUllWdb3MIRDPic5AbF+c2YEQAKVIA1zcoq11+DjL X-Received: by 2002:a05:6a21:670b:b0:1ad:746:b15a with SMTP id adf61e73a8af0-1b26f2d7434mr3482926637.47.1717198179305; Fri, 31 May 2024 16:29:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717198179; cv=pass; d=google.com; s=arc-20160816; b=IBef726+4qOMnfJj8tF9e0DP4MoOMeK7ekoJ+ZBVSjZfZKQQ9Po109yFgIh/JeIiBG dYmuQgI+E7VsoqbcUkveYFbkZ6i+M1iEFFflNXL740+CHmfkM1hKnKaAeIdWjtCG4pC4 +GhXC9LM1jMDEOifib6DpWhmRuXM2FcSWlpz9reAlE82x4sisKDj77jQ84LEO2pnf7d4 htQ8TPgQS6/C8nbhhzdjwC01hC6oaPuOzy4BDB7iyR5orgOrj4egYkD/fN313igmRM0p tsdxMy5EFnafGrs36EYfUtBywY0cia1suTRZ07f8p3kmyZAGCBSM3iBoc7cT/A64ituT DtTQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=LHsHHWwS81QuUEO9BxZ97COZKyQ2LJ0ITfj9uotAElo=; fh=emiz/+rM5UDFT8ND8W9tJiBibIQtpLlCAnxO0iab6sc=; b=S/QjX/mJS2gRJQaqMjEwVUwiKLzlAJaJSmfbN16jsCYF02LO1JZsVkQ77NLLId48w2 eMVO01l7l/uXvLgta5PZhIqnY7TE8BqioFOowDUpiGe0uoNuafoxrDTPAcQWU3acpMAb PZlIee+VI/0phPXo0rRZ2RN9vQDp84h8IaQxnwPwJUMT95NkB8QXtsPBU+ZyN57Nd8mt 347Fh3KMGwAMjW5FhjgGZq7iqsdzWsXTKbxT0HkHS0Oq8zYTLLnnFiy00Zc4X6LVyGzl yJdefeLBDlm5BUhF0M9dRuviS5VghHS27OpYVDHrc3rnwKIfUG7J+agijzKcYM6qDSCK tNsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=oBeaRRpv; 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-197589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c284e700si2259381a91.175.2024.05.31.16.29.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 16:29:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=oBeaRRpv; 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-197589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197589-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E32E02870B1 for ; Fri, 31 May 2024 23:29:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A779012F592; Fri, 31 May 2024 23:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="oBeaRRpv" 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 14C98168DA; Fri, 31 May 2024 23:29:26 +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=1717198168; cv=none; b=Ge/8Pv5wBwSbT0WwxhRKnNwg/WDWbXpU65q4xo5y+V3vLKBZTXqLafYcKtyLvWoKlQcK4ihkXFf6MN2Vi4z4BmpoOYvQBfnLwfr5pRaG67HEk76ISU2m7b/BRz2bQ5AM3bwCKyoqVrOIYlCTuAVLNC+w1tH1LXsk7nSnFXZBfq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717198168; c=relaxed/simple; bh=fxw6B70FoOVHtyTlYXBc6aAzqLvR9TS1xLMCWUQqPgQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qm/HBVCFf2F8zt0aGYrHoHHTNKfzqC1fmK/kKdzHHq+6y1wx78gKOpPq04Y2a/mFMGsm011jmDMugrTeicGses0ahZ5w7kMViiVLM6tsfgIKXdyETlwV+WNh+1wiEOc6AyLj3OTfla+jMQh2W8waggfHxrijGqksWO59nGH15hU= 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=oBeaRRpv; 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=LHsHHWwS81QuUEO9BxZ97COZKyQ2LJ0ITfj9uotAElo=; b=oBeaRRpvvRUorjtd kRgY/2XFiAiMKflmRoFnGG1x9CQ/RhIZDrDqUmLSGpPBZ+somJwlexH0wIVJN9LVzbgbx2QqhuqAM sMONU6ZkcXD1y1twmR/8ltXhQHzz3bxiU0oGJN+HbwV7AS4abmjOn+6lH4vqlmEWVOMMtXnu4kW9B 9CKgBfmjKsu3KZmkeDmBpOs2HCNf+08mKZYzt1ipZh+2dv4L0lC60napmL+oaQWyFyD31xS+/v/Ti 0BiCD4zSMrOH3RV3KkQooL+NWq43ncO8mysE8Pl92rvlvqpO1dLrXkyq0GFi9CozBaXIoCBZQb5UY 6yHH50wAdBw0Kq3Nsw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDBgT-003gTW-2w; Fri, 31 May 2024 23:29:18 +0000 From: linux@treblig.org To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] net: caif: remove unused structs Date: Sat, 1 Jun 2024 00:29:17 +0100 Message-ID: <20240531232917.302386-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 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" 'cfpktq' has been unused since commit 73d6ac633c6c ("caif: code cleanup"). 'caif_packet_funcs' is declared but never defined. Remove both of them. Signed-off-by: Dr. David Alan Gilbert --- include/net/caif/caif_layer.h | 2 -- net/caif/cfpkt_skbuff.c | 7 ------- 2 files changed, 9 deletions(-) diff --git a/include/net/caif/caif_layer.h b/include/net/caif/caif_layer.h index 51f7bb42a936..0f45d875905f 100644 --- a/include/net/caif/caif_layer.h +++ b/include/net/caif/caif_layer.h @@ -11,9 +11,7 @@ struct cflayer; struct cfpkt; -struct cfpktq; struct caif_payload_info; -struct caif_packet_funcs; #define CAIF_LAYER_NAME_SZ 16 diff --git a/net/caif/cfpkt_skbuff.c b/net/caif/cfpkt_skbuff.c index 7796414d47e5..2ae8cfa3df88 100644 --- a/net/caif/cfpkt_skbuff.c +++ b/net/caif/cfpkt_skbuff.c @@ -21,13 +21,6 @@ do { \ pr_warn(errmsg); \ } while (0) -struct cfpktq { - struct sk_buff_head head; - atomic_t count; - /* Lock protects count updates */ - spinlock_t lock; -}; - /* * net/caif/ is generic and does not * understand SKB, so we do this typecast -- 2.45.1