projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148924e
)
wifi: rsi: rsi_91x_hal: Remove unnecessary conversions
author
Wu Yunchuan
<yunchuan@nfschina.com>
Thu, 3 Aug 2023 07:35:07 +0000
(15:35 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Wed, 23 Aug 2023 11:07:14 +0000
(14:07 +0300)
No need cast (struct rsi_hw *) to (struct rsi_hw *).
Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link:
https://lore.kernel.org/r/20230803073507.3666471-1-yunchuan@nfschina.com
drivers/net/wireless/rsi/rsi_91x_hal.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rsi/rsi_91x_hal.c
b/drivers/net/wireless/rsi/rsi_91x_hal.c
index d4489b94387350f15d0caa622be2e23f2684ebb5..2cebe562a1f4b956e7dad6af060e6ca5e10f0cfd 100644
(file)
--- a/
drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/
drivers/net/wireless/rsi/rsi_91x_hal.c
@@
-424,7
+424,7
@@
out:
int rsi_prepare_beacon(struct rsi_common *common, struct sk_buff *skb)
{
- struct rsi_hw *adapter =
(struct rsi_hw *)
common->priv;
+ struct rsi_hw *adapter = common->priv;
struct rsi_data_desc *bcn_frm;
struct ieee80211_hw *hw = common->priv->hw;
struct ieee80211_conf *conf = &hw->conf;