]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: mt76: shrink mt76_queue_buf
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Aug 2024 09:30:07 +0000 (11:30 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 6 Sep 2024 12:23:07 +0000 (14:23 +0200)
Reuse one bit from the length field for skip_unmap

Link: https://patch.msgid.link/20240827093011.18621-20-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h

index 794cd33be68bd64c1759f9faf9f3e2f259fc278a..0b75a45ad2e821ccc998923f8470c8ff6d5f4667 100644 (file)
@@ -162,8 +162,8 @@ enum mt76_dfs_state {
 
 struct mt76_queue_buf {
        dma_addr_t addr;
-       u16 len;
-       bool skip_unmap;
+       u16 len:15,
+           skip_unmap:1;
 };
 
 struct mt76_tx_info {