[PATCH ibdiags 09/14] ibdiags: Remove unneeded prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

The prototype is already in ibnetdisc.h

Fixes the compiler warning:

ibnetdisc.c:68:14: warning: redundant redeclaration of ‘ibnd_find_port_dr’ [-Wredundant-decls]

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
---
 libibnetdisc/src/ibnetdisc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c
index c89c0d4f10334b..7aaf4fcd181d40 100644
--- a/libibnetdisc/src/ibnetdisc.c
+++ b/libibnetdisc/src/ibnetdisc.c
@@ -65,7 +65,6 @@ static int query_node_info(smp_engine_t * engine, ib_portid_t * portid,
 			   struct ni_cbdata * cbdata);
 static int query_port_info(smp_engine_t * engine, ib_portid_t * portid,
 			   ibnd_node_t * node, int portnum);
-ibnd_port_t *ibnd_find_port_dr(ibnd_fabric_t * fabric, char *dr_str);
 
 static int recv_switch_info(smp_engine_t * engine, ibnd_smp_t * smp,
 			    uint8_t * mad, void *cb_data)
-- 
2.21.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux