[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xen: remove unnecessary rc clearing from evtchn_reset



Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx>

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.