staging: wilc1000: wilc_wfi_netdevice.c: remove prohibited space
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 22 Jun 2015 04:08:12 +0000 (13:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jul 2015 02:23:36 +0000 (19:23 -0700)
Fix checkpatch warning found by checkpatch.pl
WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.c

index 01542f439376dc445d2ffee527471cda62c9910b..9da7674602e1f1bce40e3600628cab221b1e41eb 100644 (file)
@@ -71,7 +71,7 @@ void WILC_WFI_SetupPool(struct net_device *dev)
 
        priv->ppool = NULL;
        for (i = 0; i < pool_size; i++) {
-               pkt = kmalloc (sizeof (struct WILC_WFI_packet), GFP_KERNEL);
+               pkt = kmalloc(sizeof(struct WILC_WFI_packet), GFP_KERNEL);
                if (pkt == NULL) {
                        PRINT_D(RX_DBG, "Ran out of memory allocating packet pool\n");
                        return;
@@ -99,7 +99,7 @@ void WILC_WFI_TearDownPool(struct net_device *dev)
 
        while ((pkt = priv->ppool)) {
                priv->ppool = pkt->next;
-               kfree (pkt);
+               kfree(pkt);
                /* FIXME - in-flight packets ? */
        }
 }