Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp998246lqd; Thu, 25 Apr 2024 03:05:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5qgC2qjFA6dizRG2JWwG0qKQkWTVAa6Grn6gA5Ju/VjryXODIwrPeagRQs3w96kwLvc+omkEO3U/Wg989k1ffUua/T9THvsmPMTkp1g== X-Google-Smtp-Source: AGHT+IGdkvESoFl4BpGnHG0AWEyKk83rWzZP37bLAtT+L9nZLiz/FpZF95vIt9Amm+D72bO7VtRS X-Received: by 2002:a05:6a00:b49:b0:6ea:afdb:6d03 with SMTP id p9-20020a056a000b4900b006eaafdb6d03mr6711854pfo.19.1714039514997; Thu, 25 Apr 2024 03:05:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714039514; cv=pass; d=google.com; s=arc-20160816; b=rnG04zG0ngmE49eQfzUnJwCmFSXjgx9qVMFpJGHgc9I3v4jgvLDoFnqFspM2ghf7g6 SwaRzQY6CM9LsjrAA8nL2tIS2Ys/ZYlwHCRwZrTTrf8VP6D5bQazhMpSPCsYvoxJueZM 4URwLDUNRVADdUgeqImXuhEEgGi4A7B6Yb5J5Yc521e7TuyfNpFXB+KXLDGLak64U/pe vYEzCv6s1cZcBXN6Psqk4tCDn+peyJYVGiXon/NW7h0pdsUGNxnEyzU9z1+4n/kdUC/5 eVynAxjq1QDfOeZy7w9ecw9sNM797CYg7j2zRDd/o8ip4qvP+9d1kMfV/C04ips3Z3y7 EGjw== 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=4dV+3BwCxRrU83DUCeOBwVJF38fNi8MvgvnSmXXVELI=; fh=yTqOnUjKV4L9RNJWPT0iOKKPoDXEMovlkqaRVKqvJfs=; b=pOOrUu14dCFsykc6iSN7npo6cO3tTRysCfN0qezj9p4FyaIKZ98ujfXYTpcVTdMFDN K32k9rOHQsJvq9CuF5F18w+ArEjB4NCVdhiGfBYJX80iqx7gTAZF5iMW9Zl2n/FBK+Fc QGlTJABoybhJb8PSuj8XZ2/SV3sMBlVxHCmqOwTDxMSAm9mMnZ1fUhTKiA9W/PbI+HBo rhHZOKGbViaI04t1nkYx3a5wQdBxwW1/khK9gekOYu8RBrB49ZnVlg73PQFXLrz6oeFx pLOxykiNXBt0N/X/slvjsHCbMBp/Qx5lH52CFtmDT7I+8gCAX29UwRjepfDUPU417YXL yv8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=QlStIszc; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-158351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p14-20020a056a000b4e00b006e6caddf53asi13155372pfo.329.2024.04.25.03.05.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 03:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158351-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=@wanadoo.fr header.s=t20230301 header.b=QlStIszc; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-158351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr 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 4FB7D284F4E for ; Thu, 25 Apr 2024 10:04:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20329126F02; Thu, 25 Apr 2024 10:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="QlStIszc" Received: from smtp.smtpout.orange.fr (smtp-14.smtpout.orange.fr [80.12.242.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4654684FA9; Thu, 25 Apr 2024 10:03:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714039435; cv=none; b=pN/kjsZ9PrBRh1+D05nvR5VYUlocbQ3gN24sPrdc7Cm4VZCg15HWev19Fd4jY6SnjvF091BEJQ2OR3llAXt6Vldc0ry+2+0aTy/UMe/oa9vfKbV/hUtFl/CJZRTTj0cjGOohNtforxCJditFSLdg7EtTT7Y6yCI+lRqd6s1M/WI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714039435; c=relaxed/simple; bh=7GYrDHi2wc98+LxSD11rnonpx3B7ff5rAPOELGHgubk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FCaTz8+Kfxc3h5qa7LrxzCSng1ZD7EsDQbCrrzyGbkorTVFVgflZPSprfDONwRkUqaGvwrMQQdWc3LvlszRNIRkRJuAlxvqwh2lHz2yVXS1EpAt/qApTtpAV6wsZWMH5yze7Fw/jc0zBKkzVlIOVqk2K0u94sPaxnOYJAjEAm+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=QlStIszc; arc=none smtp.client-ip=80.12.242.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from localhost.localdomain ([86.243.17.157]) by smtp.orange.fr with ESMTPA id zvxAr3Z51CEcGzvxAryaUS; Thu, 25 Apr 2024 12:03:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1714039425; bh=4dV+3BwCxRrU83DUCeOBwVJF38fNi8MvgvnSmXXVELI=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=QlStIszc4Xr3fHlScsb3ATG/XjVV5B9xVmfLF6iB1o7JoWR0q8XYFM7FE3eMFe0Op xPGV5wq9+VY0SF/Fm2CO/kLK+VE6dqkVKW2jNJOrzni20viGhc0ORVD7gr/Z12D4WX s1JxBsRX0vkLfI3eXcbeiEPO6yhw1f3mY9EjjZ0/rdf/jjIGnfPo19KutPamSsRije I6UiAXYy6S6ZxVr1U4A+NTmMsckpci6Y2Ne002NU+AHp/MGRy1Hqg9eq9UULY3paRi 6/RIuzaisV0Oc+csj4vopJNZU9TcB8g/84a+udD5r8FMtOfW/tjbUXNSL3aE+YOO2q vPoe4D0iZepPw== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Thu, 25 Apr 2024 12:03:45 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Arend van Spriel , Kalle Valo Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com Subject: [PATCH] wifi: brcmfmac: remove unused brcmf_usb_image struct Date: Thu, 25 Apr 2024 12:03:18 +0200 Message-ID: <23afd8c1733ad087ce2399a07a30d689aef861d5.1714039373.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit struct brcmf_usb_image was added in the initial commit 71bb244ba2fd5 ("brcm80211: fmac: add USB support for bcm43235/6/8 chipsets") and updated in commit 803599d40418 ("brcmfmac: store usb fw images in local linked list.") Its only usage was removed in commit 52f98a57d8c1 ("brcmfmac: remove firmware list from USB driver"). Remove the structure definition now. This saves a few lines of code. Signed-off-by: Christophe JAILLET --- Compile tested only --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c index 0ccf735316c2..9a105e6debe1 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c @@ -117,13 +117,6 @@ struct bootrom_id_le { __le32 boardrev; /* Board revision */ }; -struct brcmf_usb_image { - struct list_head list; - s8 *fwname; - u8 *image; - int image_len; -}; - struct brcmf_usbdev_info { struct brcmf_usbdev bus_pub; /* MUST BE FIRST */ spinlock_t qlock; -- 2.44.0