diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2019-08-21 11:11:15 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-09-05 17:42:32 +0200 |
commit | 13381dcdb3acad453718c2383da3745f99088de7 (patch) | |
tree | 48dd31bf2d6f6348f0531642da43b61ea1f7b7ab /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 01cfc1b45421cbc1e80511a78f1ea6d261de1075 (diff) | |
download | lwn-13381dcdb3acad453718c2383da3745f99088de7.tar.gz lwn-13381dcdb3acad453718c2383da3745f99088de7.zip |
mt76: fix some checkpatch warnings
This fixes the following checkpatch warnings:
CHECK: Alignment should match open parenthesis
CHECK: No space is necessary after a cast
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 0668ddb1ccbd..714b1dbbb624 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -674,7 +674,7 @@ static inline struct mt76_tx_cb *mt76_tx_skb_cb(struct sk_buff *skb) { BUILD_BUG_ON(sizeof(struct mt76_tx_cb) > sizeof(IEEE80211_SKB_CB(skb)->status.status_driver_data)); - return ((void *) IEEE80211_SKB_CB(skb)->status.status_driver_data); + return ((void *)IEEE80211_SKB_CB(skb)->status.status_driver_data); } static inline void mt76_insert_hdr_pad(struct sk_buff *skb) |