wifi: brcmfmac: remove unused brcmf_usb_image struct
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 25 Apr 2024 10:03:18 +0000 (12:03 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 26 Apr 2024 10:36:17 +0000 (13:36 +0300)
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 <christophe.jaillet@wanadoo.fr>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/23afd8c1733ad087ce2399a07a30d689aef861d5.1714039373.git.christophe.jaillet@wanadoo.fr
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c

index 0ccf735..9a105e6 100644 (file)
@@ -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;