Net: wireless: core.c: fixed checkpatch warnings
authorCristian Chilipirea <cristian.chilipirea@gmail.com>
Tue, 8 May 2012 09:38:53 +0000 (12:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:46:32 +0000 (12:46 -0400)
Fixed some checkpatch warnings.

Signed-off-by: Cristian Chilipirea <cristian.chilipirea@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c

index 39f2538a46fc03936e7ef4145c7de29c0a624a62..a87d4355297461d9ad31f4066758095d7d4cae4f 100644 (file)
@@ -664,7 +664,7 @@ void wiphy_unregister(struct wiphy *wiphy)
                mutex_lock(&rdev->devlist_mtx);
                __count = rdev->opencount;
                mutex_unlock(&rdev->devlist_mtx);
-               __count == 0;}));
+               __count == 0; }));
 
        mutex_lock(&rdev->devlist_mtx);
        BUG_ON(!list_empty(&rdev->netdev_list));
@@ -776,7 +776,7 @@ static struct device_type wiphy_type = {
        .name   = "wlan",
 };
 
-static int cfg80211_netdev_notifier_call(struct notifier_block * nb,
+static int cfg80211_netdev_notifier_call(struct notifier_block *nb,
                                         unsigned long state,
                                         void *ndev)
 {