staging: rtl8187se: Fix space prohibited before semicolon in r8180_core.c and r8180.h
authorMasanari Iida <standby24x7@gmail.com>
Wed, 25 Dec 2013 16:15:53 +0000 (01:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:29:36 +0000 (10:29 -0800)
This patch fixed "Warning: space prohibited before semicolon"
found by checkpatch.pl in r8180_core.c and r8180.h

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h
drivers/staging/rtl8187se/r8180_core.c

index f14fca3..8999ec6 100644 (file)
@@ -643,7 +643,7 @@ short rtl8180_tx(struct net_device *dev, u8 *skbuf, int len, int priority,
 
 u8 read_nic_byte(struct net_device *dev, int x);
 u32 read_nic_dword(struct net_device *dev, int x);
-u16 read_nic_word(struct net_device *dev, int x) ;
+u16 read_nic_word(struct net_device *dev, int x);
 void write_nic_byte(struct net_device *dev, int x, u8 y);
 void write_nic_word(struct net_device *dev, int x, u16 y);
 void write_nic_dword(struct net_device *dev, int x, u32 y);
index 297136b..9da3b84 100644 (file)
@@ -3077,7 +3077,7 @@ void rtl8180_commit(struct net_device *dev)
        struct r8180_priv *priv = ieee80211_priv(dev);
 
        if (priv->up == 0)
-               return ;
+               return;
 
        del_timer_sync(&priv->watch_dog_timer);
        del_timer_sync(&priv->rateadapter_timer);
@@ -3435,7 +3435,7 @@ static void rtl8180_tx_isr(struct net_device *dev, int pri, short error)
 
        default:
                spin_unlock_irqrestore(&priv->tx_lock, flag);
-               return ;
+               return;
        }
 
        nicv = (u32 *)((nic - nicbegin) + (u8 *)begin);