From: Andrei Khomenkov Date: Fri, 15 May 2026 15:12:53 +0000 (+0300) Subject: staging: rtl8723bs: remove unused TXDESC_64_BYTES code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e98ec17535a1b823a5b4ba3f54b869a334f6f072;p=thirdparty%2Fkernel%2Fstable.git staging: rtl8723bs: remove unused TXDESC_64_BYTES code Remove the TXDESC_64_BYTES code since it is not used as the macro is not defined anywhere. Signed-off-by: Andrei Khomenkov Link: https://patch.msgid.link/20260515151253.8106-3-khomenkov@mailbox.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_xmit.h b/drivers/staging/rtl8723bs/include/rtw_xmit.h index adce0d211494..056c2ae990f2 100644 --- a/drivers/staging/rtl8723bs/include/rtw_xmit.h +++ b/drivers/staging/rtl8723bs/include/rtw_xmit.h @@ -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 };