[COMMIT] [vioserial] clean up interrupt enable/disable logic

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

 



>From fd7cab2b8d58acf191a740856a11eb5952705fe6 Mon Sep 17 00:00:00 2001
From: Vadim Rozenfeld <vrozenfe@xxxxxxxxxx>
Date: Mon, 16 May 2011 15:30:14 +0300
Subject: [COMMIT] [vioserial] clean up interrupt enable/disable logic

---
 vioserial/sys/IsrDpc.c |    8 --------
 vioserial/sys/Port.c   |    3 ---
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/vioserial/sys/IsrDpc.c b/vioserial/sys/IsrDpc.c
index fe78658..6db9349 100644
--- a/vioserial/sys/IsrDpc.c
+++ b/vioserial/sys/IsrDpc.c
@@ -120,14 +120,6 @@ VIOSerialEnableDisableInterrupt(
         }
     }
 
-    if(pContext->c_ovq)
-    {
-        pContext->c_ovq->vq_ops->enable_interrupt(pContext->c_ovq,
bEnable);
-        if(bEnable)
-        {
-           pContext->c_ovq->vq_ops->kick(pContext->c_ovq);
-        }
-    }
     TraceEvents(TRACE_LEVEL_INFORMATION, DBG_INTERRUPT, "<-- %s enable
= %d\n", __FUNCTION__, bEnable);
 }
 
diff --git a/vioserial/sys/Port.c b/vioserial/sys/Port.c
index 719bc10..71b65cf 100644
--- a/vioserial/sys/Port.c
+++ b/vioserial/sys/Port.c
@@ -181,7 +181,6 @@ VIOSerialRemovePort(
            }
 
            VIOSerialEnableDisableInterruptQueue(GetInQueue(&vport),
FALSE);
-           VIOSerialEnableDisableInterruptQueue(GetOutQueue(&vport),
FALSE);
 
            if(vport.GuestConnected)
            {
@@ -263,7 +262,6 @@ VIOSerialRenewAllPorts(
         }
 
         VIOSerialEnableDisableInterruptQueue(GetInQueue(&vport), TRUE);
-        VIOSerialEnableDisableInterruptQueue(GetOutQueue(&vport),
TRUE);
 
         if(vport.GuestConnected)
         {
@@ -326,7 +324,6 @@ VIOSerialShutdownAllPorts(
         }
 
         VIOSerialEnableDisableInterruptQueue(GetInQueue(&vport),
FALSE);
-        VIOSerialEnableDisableInterruptQueue(GetOutQueue(&vport),
FALSE);
 
         if(vport.GuestConnected)
         {
-- 
1.7.0.2.msysgit.0



--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Walks]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux