diff options
| author | Andrei Khomenkov <khomenkov@mailbox.org> | 2026-05-15 18:12:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-21 12:39:02 +0200 |
| commit | e98ec17535a1b823a5b4ba3f54b869a334f6f072 (patch) | |
| tree | 05ed218360f02e9121e7fdd30b2e185a854a6e84 | |
| parent | f25efd7794eb636d0bf544274de8b5c37ea05ecf (diff) | |
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 <khomenkov@mailbox.org>
Link: https://patch.msgid.link/20260515151253.8106-3-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_xmit.h | 16 |
1 files changed, 1 insertions, 15 deletions
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 }; |
