[ibsim patch 09/23] sim_net.c: Delete function 'new_hca'

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

 



Signed-off-by: Honggang Li <honli@xxxxxxxxxx>
---
 ibsim/sim_net.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/ibsim/sim_net.c b/ibsim/sim_net.c
index a62d39d39174..8f285e6d8f1a 100644
--- a/ibsim/sim_net.c
+++ b/ibsim/sim_net.c
@@ -279,11 +279,6 @@ static Switch *new_switch(Node * nd, int set_esp0)
 	return sw;
 }
 
-static int new_hca(Node * nd)
-{
-	return 0;
-}
-
 static int build_nodeid(char *nodeid, size_t len, char *base)
 {
 	if (strchr(base, '#') || strchr(base, '@')) {
@@ -870,9 +865,6 @@ static int parse_endnode(int fd, char *line, int type)
 	if (!(nd = new_node(type, nodeid, nodedesc, ports)))
 		return 0;
 
-	if (new_hca(nd) < 0)
-		return 0;
-
 	r = parse_ports(fd, nd, type, ports);
 
 	PDEBUG("%d ports found", r);
-- 
2.15.0-rc1




[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