]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: remove unused TXDESC_64_BYTES code
authorAndrei Khomenkov <khomenkov@mailbox.org>
Fri, 15 May 2026 15:12:53 +0000 (18:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 10:39:02 +0000 (12:39 +0200)
Remove the TXDESC_64_BYTES code since it is not used as the macro
is not defined anywhere.

Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org>
Link: https://patch.msgid.link/20260515151253.8106-3-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_xmit.h

index adce0d21149461cdbb3357d8cd65cacae1bdc74a..056c2ae990f260bbec406bf8d35860b57ef39ff4 100644 (file)
@@ -94,23 +94,9 @@ struct tx_desc {
        __le32 txdw6;
        __le32 txdw7;
 
-#if defined(TXDESC_40_BYTES) || defined(TXDESC_64_BYTES)
+#ifdef TXDESC_40_BYTES
        __le32 txdw8;
        __le32 txdw9;
-#endif /*  TXDESC_40_BYTES */
-
-#ifdef TXDESC_64_BYTES
-       __le32 txdw10;
-       __le32 txdw11;
-
-       /*  2008/05/15 MH Because PCIE HW memory R/W 4K limit. And now,  our descriptor */
-       /*  size is 40 bytes. If you use more than 102 descriptor(103*40>4096), HW will execute */
-       /*  memoryR/W CRC error. And then all DMA fetch will fail. We must decrease descriptor */
-       /*  number or enlarge descriptor size as 64 bytes. */
-       __le32 txdw12;
-       __le32 txdw13;
-       __le32 txdw14;
-       __le32 txdw15;
 #endif
 };