[openib-general] [PATCH] kill build warning in ipoib_arp.c
Tom Duffy
tduffy at sun.com
Thu Aug 5 09:39:43 PDT 2004
Building ipoib_arp.c causes a warning with new API:
CC [M] drivers/infiniband/ulp/ipoib/ipoib_arp.o
drivers/infiniband/ulp/ipoib/ipoib_arp.c: In function `_ipoib_sarp_path_lookup':drivers/infiniband/ulp/ipoib/ipoib_arp.c:494: warning: `return' with a value, in function returning void
Signed-by: Tom Duffy <tduffy at sun.com> with permission from Sun legal.
Index: drivers/infiniband/ulp/ipoib/ipoib_arp.c
===================================================================
--- drivers/infiniband/ulp/ipoib/ipoib_arp.c (revision 589)
+++ drivers/infiniband/ulp/ipoib/ipoib_arp.c (working copy)
@@ -490,8 +490,6 @@
dev->name);
entry->tid = tid;
}
-
- return 0;
}
/* =============================================================== */
-------------- 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/20040805/3d04dccc/attachment.sig>
More information about the general
mailing list