Commit c4f60846 authored by Cristian Chilipirea's avatar Cristian Chilipirea Committed by John W. Linville

Net: wireless: core.c: fixed checkpatch warnings

Fixed some checkpatch warnings.
Signed-off-by: default avatarCristian Chilipirea <cristian.chilipirea@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9e73dee7
...@@ -664,7 +664,7 @@ void wiphy_unregister(struct wiphy *wiphy) ...@@ -664,7 +664,7 @@ void wiphy_unregister(struct wiphy *wiphy)
mutex_lock(&rdev->devlist_mtx); mutex_lock(&rdev->devlist_mtx);
__count = rdev->opencount; __count = rdev->opencount;
mutex_unlock(&rdev->devlist_mtx); mutex_unlock(&rdev->devlist_mtx);
__count == 0;})); __count == 0; }));
mutex_lock(&rdev->devlist_mtx); mutex_lock(&rdev->devlist_mtx);
BUG_ON(!list_empty(&rdev->netdev_list)); BUG_ON(!list_empty(&rdev->netdev_list));
...@@ -776,7 +776,7 @@ static struct device_type wiphy_type = { ...@@ -776,7 +776,7 @@ static struct device_type wiphy_type = {
.name = "wlan", .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, unsigned long state,
void *ndev) void *ndev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment