]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: rtl8192e: rtl8192e: fix space prohibited before that ','
authorHatice ERTÜRK <haticeerturk27@gmail.com>
Sun, 1 Mar 2015 17:02:11 +0000 (19:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:09:15 +0000 (17:09 -0800)
This patch fixes the following checkpatch.pl error:
space prohibited before that ','

Signed-off-by: Hatice ERTURK <haticeerturk27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c

index 89ea70b0d3aadd1e23ac130ff7fc7e80c85622f2..05696428e8a33054cd764260b9525eedd0d592ed 100644 (file)
@@ -192,7 +192,7 @@ void CamRestoreAllEntry(struct net_device *dev)
                for (EntryId = 0; EntryId < 4; EntryId++) {
                        MacAddr = CAM_CONST_ADDR[EntryId];
                        if (priv->rtllib->swcamtable[EntryId].bused) {
-                               setKey(dev, EntryId , EntryId,
+                               setKey(dev, EntryId, EntryId,
                                       priv->rtllib->pairwise_key_type, MacAddr,
                                       0, (u32 *)(&priv->rtllib->swcamtable
                                      [EntryId].key_buf[0]));
@@ -254,7 +254,7 @@ void CamRestoreAllEntry(struct net_device *dev)
                MacAddr = CAM_CONST_BROAD;
                for (EntryId = 1; EntryId < 4; EntryId++) {
                        if (priv->rtllib->swcamtable[EntryId].bused) {
-                               setKey(dev, EntryId , EntryId,
+                               setKey(dev, EntryId, EntryId,
                                       priv->rtllib->group_key_type,
                                       MacAddr, 0,
                                       (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0]));
@@ -263,7 +263,7 @@ void CamRestoreAllEntry(struct net_device *dev)
 
                if (priv->rtllib->iw_mode == IW_MODE_ADHOC) {
                        if (priv->rtllib->swcamtable[0].bused) {
-                               setKey(dev, 0 , 0,
+                               setKey(dev, 0, 0,
                                        priv->rtllib->group_key_type,
                                        CAM_CONST_ADDR[0], 0,
                                        (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0]));