]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: wfx: remove unneeded spaces
authorLourdes Pedrajas <lu@pplo.net>
Sun, 15 Mar 2020 04:49:22 +0000 (05:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 12:51:46 +0000 (13:51 +0100)
Remove spaces after type casting operators in order to comply codding
standards.
Issue found with checkpatch.

Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
Link: https://lore.kernel.org/r/20200315044922.14249-1-lu@pplo.net
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/queue.c
drivers/staging/wfx/sta.c

index ed6dc82977382de908432b30f62b27b26375cb48..39d9127ce4b9fb2ae07f0beeda5bcadcf4e0fd61 100644 (file)
@@ -540,7 +540,7 @@ struct hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev)
                skb = wfx_tx_queue_get(wdev, queue, tx_allowed_mask);
                if (!skb)
                        continue;
-               hif = (struct hif_msg *) skb->data;
+               hif = (struct hif_msg *)skb->data;
                wvif = wdev_to_wvif(wdev, hif->interface);
                WARN_ON(!wvif);
 
index a60ac03fa73dda0b8ce643477c1da51a0c8c6e06..07a9991929fd6d0692928e6d56a8c916247f51d8 100644 (file)
@@ -903,7 +903,7 @@ static void wfx_update_tim_work(struct work_struct *work)
 int wfx_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set)
 {
        struct wfx_dev *wdev = hw->priv;
-       struct wfx_sta_priv *sta_dev = (struct wfx_sta_priv *) &sta->drv_priv;
+       struct wfx_sta_priv *sta_dev = (struct wfx_sta_priv *)&sta->drv_priv;
        struct wfx_vif *wvif = wdev_to_wvif(wdev, sta_dev->vif_id);
 
        schedule_work(&wvif->update_tim_work);