From patchwork Wed Oct 21 12:50:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 55077 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9LCqCps023731 for ; Wed, 21 Oct 2009 12:52:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751746AbZJUMwF (ORCPT ); Wed, 21 Oct 2009 08:52:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752520AbZJUMwF (ORCPT ); Wed, 21 Oct 2009 08:52:05 -0400 Received: from qmta14.westchester.pa.mail.comcast.net ([76.96.59.212]:40148 "EHLO QMTA14.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751746AbZJUMwE (ORCPT ); Wed, 21 Oct 2009 08:52:04 -0400 Received: from OMTA18.westchester.pa.mail.comcast.net ([76.96.62.90]) by QMTA14.westchester.pa.mail.comcast.net with comcast id vQV21c0Fj1wpRvQ5EQs9mi; Wed, 21 Oct 2009 12:52:09 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA18.westchester.pa.mail.comcast.net with comcast id vQxU1c00Q0hNrtn3eQxUcq; Wed, 21 Oct 2009 12:57:28 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id n9LCoiUk018284; Wed, 21 Oct 2009 08:50:49 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id n9LCoRvH018253; Wed, 21 Oct 2009 08:50:27 -0400 Date: Wed, 21 Oct 2009 08:50:27 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_ucast_cache.c: Eliminate unneeded define Message-ID: <20091021125026.GA18250@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/opensm/osm_ucast_cache.c b/opensm/opensm/osm_ucast_cache.c index 4700c5f..09bbf33 100644 --- a/opensm/opensm/osm_ucast_cache.c +++ b/opensm/opensm/osm_ucast_cache.c @@ -59,8 +59,6 @@ #include #include -#define CACHE_SW_PORTS 36 - typedef struct cache_port { boolean_t is_leaf; uint16_t remote_lid_ho; @@ -420,7 +418,7 @@ void osm_ucast_cache_invalidate(osm_ucast_mgr_t * p_mgr) } cl_qmap_remove_all(&p_mgr->cache_sw_tbl); - OSM_LOG(p_mgr->p_log, OSM_LOG_VERBOSE, "Unicast Cache Invalidated.\n"); + OSM_LOG(p_mgr->p_log, OSM_LOG_VERBOSE, "Unicast cache invalidated\n"); Exit: OSM_LOG_EXIT(p_mgr->p_log); }