Commit 52424e0c authored by Wu Yunchuan's avatar Wu Yunchuan Committed by Kalle Valo

wifi: rsi: rsi_91x_hal: Remove unnecessary conversions

No need cast (struct rsi_hw *) to (struct rsi_hw *).
Signed-off-by: default avatarWu Yunchuan <yunchuan@nfschina.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230803073507.3666471-1-yunchuan@nfschina.com
parent 148924e5
...@@ -424,7 +424,7 @@ int rsi_send_bt_pkt(struct rsi_common *common, struct sk_buff *skb) ...@@ -424,7 +424,7 @@ int rsi_send_bt_pkt(struct rsi_common *common, struct sk_buff *skb)
int rsi_prepare_beacon(struct rsi_common *common, struct sk_buff *skb) 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 rsi_data_desc *bcn_frm;
struct ieee80211_hw *hw = common->priv->hw; struct ieee80211_hw *hw = common->priv->hw;
struct ieee80211_conf *conf = &hw->conf; struct ieee80211_conf *conf = &hw->conf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment