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

[win-pv-devel] [PATCH 05/15] EvtchnCallback() does not need to check that the channel is active



There is no interaction with the ABI that necessitates a check whether the
channel is active.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenbus/evtchn.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/xenbus/evtchn.c b/src/xenbus/evtchn.c
index acbb84c..b3f147c 100644
--- a/src/xenbus/evtchn.c
+++ b/src/xenbus/evtchn.c
@@ -596,9 +596,6 @@ EvtchnCallback(
     UNREFERENCED_PARAMETER(Dpc);
     UNREFERENCED_PARAMETER(Argument2);
 
-    if (!Channel->Active)
-        return;
-
     Irql = __EvtchnAcquireInterruptLock(Context, Channel);
 
 #pragma warning(suppress:6387)  // NULL argument
-- 
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

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