Commit df69646b authored by Kaaira Gupta's avatar Kaaira Gupta Committed by Greg Kroah-Hartman

staging: wfx: dat_tx.c: remove space after a cast

remove extra spaces after casts in file data_tx.c
Signed-off-by: default avatarKaaira Gupta <kgupta@es.iitr.ac.in>
Link: https://lore.kernel.org/r/20200310142509.25632-4-kgupta@es.iitr.ac.inSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c67dc09f
...@@ -304,7 +304,7 @@ static u8 wfx_tx_get_raw_link_id(struct wfx_vif *wvif, ...@@ -304,7 +304,7 @@ static u8 wfx_tx_get_raw_link_id(struct wfx_vif *wvif,
struct ieee80211_hdr *hdr) struct ieee80211_hdr *hdr)
{ {
struct wfx_sta_priv *sta_priv = struct wfx_sta_priv *sta_priv =
sta ? (struct wfx_sta_priv *) &sta->drv_priv : NULL; sta ? (struct wfx_sta_priv *)&sta->drv_priv : NULL;
const u8 *da = ieee80211_get_DA(hdr); const u8 *da = ieee80211_get_DA(hdr);
if (sta_priv && sta_priv->link_id) if (sta_priv && sta_priv->link_id)
...@@ -430,7 +430,7 @@ static int wfx_tx_inner(struct wfx_vif *wvif, struct ieee80211_sta *sta, ...@@ -430,7 +430,7 @@ static int wfx_tx_inner(struct wfx_vif *wvif, struct ieee80211_sta *sta,
struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; struct ieee80211_key_conf *hw_key = tx_info->control.hw_key;
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
int queue_id = tx_info->hw_queue; int queue_id = tx_info->hw_queue;
size_t offset = (size_t) skb->data & 3; size_t offset = (size_t)skb->data & 3;
int wmsg_len = sizeof(struct hif_msg) + int wmsg_len = sizeof(struct hif_msg) +
sizeof(struct hif_req_tx) + offset; sizeof(struct hif_req_tx) + offset;
......
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