[openib-general] [PATCH] OpenSM/osm_ucast_updn.h: Eliminate superfluous header file

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Oct 23 14:30:16 PDT 2006


Looks good, thanks.

-- Yevgeny
> 
> OpenSM/osm_ucast_updn.h: Eliminate superfluous header file
> 
> Signed-off-by: Hal Rosenstock <halr at voltaire.com <mailto:halr at voltaire.com>>
> 
> Index: include/opensm/osm_ucast_updn.h
> ===================================================================
> --- include/opensm/osm_ucast_updn.h	(revision 9945)
> +++ include/opensm/osm_ucast_updn.h	(working copy)
> @@ -1,84 +0,0 @@
> -/*
> - * Copyright (c) 2004-2006 Voltaire, Inc. All rights reserved.
> - * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
> - * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
> - *
> - * This software is available to you under a choice of one of two
> - * licenses.  You may choose to be licensed under the terms of the GNU
> - * General Public License (GPL) Version 2, available from the file
> - * COPYING in the main directory of this source tree, or the
> - * OpenIB.org BSD license below:
> - *
> - *     Redistribution and use in source and binary forms, with or
> - *     without modification, are permitted provided that the following
> - *     conditions are met:
> - *
> - *      - Redistributions of source code must retain the above
> - *        copyright notice, this list of conditions and the following
> - *        disclaimer.
> - *
> - *      - Redistributions in binary form must reproduce the above
> - *        copyright notice, this list of conditions and the following
> - *        disclaimer in the documentation and/or other materials
> - *        provided with the distribution.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
> - *
> - * $Id$
> - */
> -
> -#ifndef _OSM_UCAST_UPDN_H_
> -#define _OSM_UCAST_UPDN_H_
> -
> -/*
> - * Abstract:
> - * 	Implementation of Up Down Algorithm using ranking & Min Hop 
> - *      Calculation functions
> - *
> - * Environment:
> - * 	Linux User Mode
> - *
> - * $Revision: 1.0 $
> - */
> -/* LS : This code is useless since we integrate it with opensm */
> -/*
> -#include <opensm/osm_opensm.h>
> -#include <opensm/osm_node.h>
> -#include <complib/cl_list.h>
> -#include <opensm/osm_subnet.h>
> -#include <osmsh/osmsh_ext_ifc.h> 
> -#include <opensm/osm_ucast_mgr.h>
> -*/
> -
> -#ifdef __cplusplus
> -#  define BEGIN_C_DECLS extern "C" {
> -#  define END_C_DECLS   }
> -#else /* !__cplusplus */
> -#  define BEGIN_C_DECLS
> -#  define END_C_DECLS
> -#endif /* __cplusplus */
> -
> -BEGIN_C_DECLS
> -
> -/* //////////////////////////// */
> -/*  ENUM TypeDefs */
> -/* /////////////////////////// */
> -
> -/* ////////////////////////////////// */
> -/*  Struct TypeDefs */
> -/* ///////////////////////////////// */
> -
> -/* ////////////////////////////// */
> -/*  Function  */
> -/* ////////////////////////////// */
> -
> -END_C_DECLS
> -
> -#endif /* _OSM_UCAST_UPDN_H_ */
> Index: include/Makefile.am
> ===================================================================
> --- include/Makefile.am	(revision 9918)
> +++ include/Makefile.am	(working copy)
> @@ -90,7 +90,6 @@ EXTRA_DIST = \
>  	$(srcdir)/opensm/osm_node_info_rcv_ctrl.h \
>  	$(srcdir)/opensm/osm_link_mgr.h \
>  	$(srcdir)/opensm/osm_mcast_fwd_rcv_ctrl.h \
> -	$(srcdir)/opensm/osm_ucast_updn.h \
>  	$(srcdir)/opensm/osm_msgdef.h \
>  	$(srcdir)/opensm/osm_sa_node_record.h \
>  	$(srcdir)/opensm/st.h \
> 
> 
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org <mailto:openib-general at openib.org>
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 




More information about the general mailing list