From: Tim Gardner <tim.gardner@canonical.com>
To: linville@tuxdriver.com
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: PATCH [001/001] - Remove duplicate rtnl_unlock()
Date: Thu, 19 Apr 2007 20:29:50 -0600 [thread overview]
Message-ID: <4628259E.7060105@canonical.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
Remove a duplicate rtnl_unlock().
Signed-off-by: tim.gardner@ubuntu.com
---
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index b5a62b7..cf3d020 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -4816,7 +4816,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
rtnl_lock();
result = dev_alloc_name(local->mdev, local->mdev->name);
if (result < 0) {
- rtnl_unlock();
goto fail_dev;
}
--
Tim Gardner tim.gardner@ubuntu.com
[-- Attachment #2: duplicate_unlock.txt --]
[-- Type: text/plain, Size: 446 bytes --]
Remove a duplicate rtnl_unlock().
Signed-off-by: tim.gardner@ubuntu.com
---
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index b5a62b7..cf3d020 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -4816,7 +4816,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
rtnl_lock();
result = dev_alloc_name(local->mdev, local->mdev->name);
if (result < 0) {
- rtnl_unlock();
goto fail_dev;
}
next reply other threads:[~2007-04-20 2:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 2:29 Tim Gardner [this message]
2007-04-23 18:22 ` PATCH [001/001] - Remove duplicate rtnl_unlock() Jiri Benc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4628259E.7060105@canonical.com \
--to=tim.gardner@canonical.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).