From: Matthew Daley <mattjd@gmail.com>
To: xen-devel@lists.xen.org
Cc: Matthew Daley <mattjd@gmail.com>, Keir Fraser <keir@xen.org>
Subject: [PATCH] xen: remove unnecessary rc clearing from evtchn_reset
Date: Fri, 7 Jun 2013 14:21:21 +1200 [thread overview]
Message-ID: <1370571681-15188-1-git-send-email-mattjd@gmail.com> (raw)
Signed-off-by: Matthew Daley <mattjd@gmail.com>
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
index 64c976b..1415c31 100644
--- a/xen/common/event_channel.c
+++ b/xen/common/event_channel.c
@@ -958,16 +958,14 @@ static long evtchn_reset(evtchn_reset_t *r)
rc = xsm_evtchn_reset(XSM_TARGET, current->domain, d);
if ( rc )
goto out;
for ( i = 0; port_is_valid(d, i); i++ )
(void)__evtchn_close(d, i);
- rc = 0;
-
out:
rcu_unlock_domain(d);
return rc;
}
--
1.7.10.4
reply other threads:[~2013-06-07 2:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1370571681-15188-1-git-send-email-mattjd@gmail.com \
--to=mattjd@gmail.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
/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).