|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 09/10] xeniface: remove dead ProcIndex computation in EvtchnInterruptHandler
ProcNumber and ProcIndex are computed but never used. The DPC is
queued without per-CPU targeting so these two lines are pure dead
code. Remove them.
Signed-off-by: david ambu <david.preetham@xxxxxxxxxx>
Assisted by Claude Sonnet 4.6
---
src/xeniface/ioctl_evtchn.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/xeniface/ioctl_evtchn.c b/src/xeniface/ioctl_evtchn.c
index 0163ba1..d5ef353 100644
--- a/src/xeniface/ioctl_evtchn.c
+++ b/src/xeniface/ioctl_evtchn.c
@@ -82,16 +82,11 @@ EvtchnInterruptHandler(
)
{
PXENIFACE_EVTCHN_CONTEXT Context = Argument;
- PROCESSOR_NUMBER ProcNumber;
- ULONG ProcIndex;
UNREFERENCED_PARAMETER(Interrupt);
ASSERT(Context != NULL);
- (VOID) KeGetCurrentProcessorNumberEx(&ProcNumber);
- ProcIndex = KeGetProcessorIndexFromNumber(&ProcNumber);
-
(VOID) KeInsertQueueDpc(&Context->Dpc, NULL, NULL);
return TRUE;
--
2.51.0.windows.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |