]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: remove spaces around '->'
authorEva Rachel Retuya <eraretuya@gmail.com>
Tue, 16 Feb 2016 08:24:45 +0000 (16:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:53:56 +0000 (16:53 -0800)
Delete the space around '->' as it is prohibited and breaks the code.
Checkpatch found this issue.

ERROR: spaces prohibited around that '->'

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index d4705b77a5afa8a6c17c4c0bc58ee09cfdcee1f6..5649476fb8fd37ff718d713cca939927c3bb317b 100644 (file)
@@ -2126,7 +2126,7 @@ static int start_ap(struct wiphy *wiphy, struct net_device *dev,
 
        priv = wiphy_priv(wiphy);
        vif = netdev_priv(dev);
-       wl = vif ->wilc;
+       wl = vif->wilc;
        PRINT_D(HOSTAPD_DBG, "Starting ap\n");
 
        PRINT_D(HOSTAPD_DBG, "Interval = %d\n DTIM period = %d\n Head length = %zu Tail length = %zu\n",