]> xenbits.xensource.com Git - people/pauldu/xeniface.git/commitdiff
Remove calls to KeGetCurrentProcessorNumber()
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 2 Nov 2015 14:19:34 +0000 (14:19 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 2 Nov 2015 14:19:34 +0000 (14:19 +0000)
This function is not valid for group aware drivers.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xeniface/ioctl_evtchn.c
src/xeniface/ioctls.c

index 3b8ecb564a8e5a763ad03b074ca2704260b33e91..9c5af19e00a91a08f68da0c630709cbaa6e8413d 100644 (file)
@@ -55,10 +55,6 @@ EvtchnNotificationDpc(
 
     ASSERT(Context != NULL);
 
-#if DBG
-    XenIfaceDebugPrint(INFO, "Channel %p, LocalPort %d, Cpu %lu\n",
-                       Context->Channel, Context->LocalPort, KeGetCurrentProcessorNumber());
-#endif
     KeSetEvent(Context->Event, 0, FALSE);
 
     XENBUS_EVTCHN(Unmask,
index e1e3b6df1adaf124a2948e2110be68d06a9a7672..a8a5538fe801f98ddbef19fef29cb1fe902359a0 100644 (file)
@@ -99,8 +99,6 @@ XenIfaceCleanup(
     KIRQL Irql;
     LIST_ENTRY ToFree;
 
-    XenIfaceDebugPrint(TRACE, "FO %p, IRQL %d, Cpu %lu\n", FileObject, KeGetCurrentIrql(), KeGetCurrentProcessorNumber());
-
     // store watches
     KeAcquireSpinLock(&Fdo->StoreWatchLock, &Irql);
     Node = Fdo->StoreWatchList.Flink;