]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: wfx: dat_tx.c: remove space after a cast
authorKaaira Gupta <kgupta@es.iitr.ac.in>
Tue, 10 Mar 2020 14:25:06 +0000 (19:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 07:04:53 +0000 (08:04 +0100)
remove extra spaces after casts in file data_tx.c

Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in>
Link: https://lore.kernel.org/r/20200310142509.25632-4-kgupta@es.iitr.ac.in
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_tx.c

index ef617347abade4bb44bf75405eeea22901c0714d..42183c70d4df5bfaefa6aee90da2ac90e5477a2c 100644 (file)
@@ -304,7 +304,7 @@ static u8 wfx_tx_get_raw_link_id(struct wfx_vif *wvif,
                                 struct ieee80211_hdr *hdr)
 {
        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);
 
        if (sta_priv && sta_priv->link_id)
@@ -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_hdr *hdr = (struct ieee80211_hdr *)skb->data;
        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) +
                        sizeof(struct hif_req_tx) + offset;