[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230803073507.3666471-1-yunchuan@nfschina.com>
Date: Thu, 3 Aug 2023 15:35:07 +0800
From: Wu Yunchuan <yunchuan@...china.com>
To: kvalo@...nel.org
Cc: marex@...x.de, peter@...jl.ca, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Wu Yunchuan <yunchuan@...china.com>
Subject: [PATCH net-next v2 3/9] wifi: rsi: rsi_91x_hal: Remove unnecessary conversions
No need cast (struct rsi_hw *) to (struct rsi_hw *).
Signed-off-by: Wu Yunchuan <yunchuan@...china.com>
---
drivers/net/wireless/rsi/rsi_91x_hal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c
index d4489b943873..2cebe562a1f4 100644
--- a/drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/drivers/net/wireless/rsi/rsi_91x_hal.c
@@ -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)
{
- 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;
--
2.30.2
Powered by blists - more mailing lists