[openib-general] [PATCH] Remove drivers/infiniband/core/mad_export.c

Tom Duffy tduffy at sun.com
Mon Aug 16 14:56:12 PDT 2004


Remove file drivers/infiniband/core/mad_export.c.

Signed-by: Tom Duffy <tduffy at sun.com> with permission from Sun legal.

Index: drivers/infiniband/core/Makefile
===================================================================
--- drivers/infiniband/core/Makefile	(revision 654)
+++ drivers/infiniband/core/Makefile	(working copy)
@@ -55,8 +54,7 @@
     mad_filter.o \
     mad_thread.o \
     mad_static.o \
-    mad_proc.o \
-    mad_export.o
+    mad_proc.o
 
 ib_cm-objs := \
     cm_main.o \
Index: drivers/infiniband/core/mad_ib.c
===================================================================
--- drivers/infiniband/core/mad_ib.c	(revision 654)
+++ drivers/infiniband/core/mad_ib.c	(working copy)
@@ -159,6 +159,7 @@
 	*buf = *mad;
 	return ib_mad_send_no_copy(buf);
 }
+EXPORT_SYMBOL(ib_mad_send);
 
 static void ib_mad_handle_wc(struct ib_device *device,
 			     struct ib_wc *entry)
Index: drivers/infiniband/core/mad_export.c
===================================================================
--- drivers/infiniband/core/mad_export.c	(revision 654)
+++ drivers/infiniband/core/mad_export.c	(working copy)
@@ -1,30 +0,0 @@
-/*
-  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 at
-  <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
-  license, available in the LICENSE.TXT file accompanying this
-  software.  These details are also available at
-  <http://openib.org/license.html>.
-
-  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.
-
-  Copyright (c) 2004 Topspin Communications.  All rights reserved.
-
-  $Id$
-*/
-
-#include "ts_ib_mad.h"
-
-#include <linux/module.h>
-
-EXPORT_SYMBOL(ib_mad_send);
-EXPORT_SYMBOL(ib_mad_handler_register);
-EXPORT_SYMBOL(ib_mad_handler_deregister);
Index: drivers/infiniband/core/mad_filter.c
===================================================================
--- drivers/infiniband/core/mad_filter.c	(revision 654)
+++ drivers/infiniband/core/mad_filter.c	(working copy)
@@ -347,6 +347,7 @@
 	*handle = filter;
 	return 0;
 }
+EXPORT_SYMBOL(ib_mad_handler_register);
 
 int ib_mad_handler_deregister(tTS_IB_MAD_FILTER_HANDLE handle)
 {
@@ -373,6 +374,7 @@
 	kfree(filter);
 	return 0;
 }
+EXPORT_SYMBOL(ib_mad_handler_deregister);
 
 int ib_mad_filter_get_by_index(int                        index,
 			       struct ib_mad_filter_list *filter)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040816/6e926591/attachment.sig>


More information about the general mailing list