summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorCristian Chilipirea <cristian.chilipirea@gmail.com>2012-05-08 12:38:53 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 12:46:32 -0400
commitc4f6084623726857ac7c55922aefe138bd77292e (patch)
treecb6c9e072ab3e62d88de12ceae456c6fe673dc21 /net/wireless
parent9e73dee7d38e9fa00f6dd1492cfbbc5719378e4a (diff)
downloadop-kernel-dev-c4f6084623726857ac7c55922aefe138bd77292e.zip
op-kernel-dev-c4f6084623726857ac7c55922aefe138bd77292e.tar.gz
Net: wireless: core.c: fixed checkpatch warnings
Fixed some checkpatch warnings. Signed-off-by: Cristian Chilipirea <cristian.chilipirea@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index 39f2538..a87d435 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -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)
{
OpenPOWER on IntegriCloud