]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[MTHCA] removed debug code, which disabled cache update mechanism
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 11 Aug 2008 12:54:05 +0000 (12:54 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 11 Aug 2008 12:54:05 +0000 (12:54 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1472 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/hw/mthca/kernel/mt_cache.c

index 11a4f2823eabd8c0bc7ee15db1c0c4b612fb308a..39b45e218883511b83dbef5b4cdc3cff559af57d 100644 (file)
@@ -302,10 +302,6 @@ static void ib_cache_event(struct ib_event_handler *handler,
                           struct ib_event *event)
 {
        struct ib_update_work *work;
-       static int temp_skip = 10;
-
-       if (temp_skip-- <= 0)
-               return;
 
        if (event->event == IB_EVENT_PORT_ERR    ||
            event->event == IB_EVENT_PORT_ACTIVE ||