Skip to contentSkip to conversation

xen: remove unnecessary rc clearing from evtchn_reset

PATCH New Matthew Daley 1 participant 1 message Jun 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: remove unnecessary rc clearing from evtchn_reset

xen/common/event_channel.c +0 -2
index 64c976b..1415c31 100644
@@ -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;
 }
 
 
Signature · 1 line
1.7.10.4