staging: wilc1000: No space is necessary after a cast
authorKeerthi Reddy <keerthigd4990@gmail.com>
Sat, 23 Sep 2017 18:57:48 +0000 (00:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Sep 2017 13:22:51 +0000 (15:22 +0200)
A space after type casting is not needed. All the other typecasts
in this file don't put space after typecast. so remove space
after typecast at this line.

checked with checkpatch.pl script

Signed-off-by: Keerthi Reddy <keerthigd4990@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index ac5aaaf..36dc2a0 100644 (file)
@@ -1617,7 +1617,7 @@ static int mgmt_tx(struct wiphy *wiphy,
 
        *cookie = (unsigned long)buf;
        priv->u64tx_cookie = *cookie;
-       mgmt = (const struct ieee80211_mgmt *) buf;
+       mgmt = (const struct ieee80211_mgmt *)buf;
 
        if (ieee80211_is_mgmt(mgmt->frame_control)) {
                mgmt_tx = kmalloc(sizeof(struct p2p_mgmt_data), GFP_KERNEL);