[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/trunk@1472 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mthca/kernel/mt_cache.c

index 11a4f28..39b45e2 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 ||