Message ID | 20190102131318.5765-9-honli@redhat.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [ibsim,01/23] move sim_cmd_file into ibsim/sim_cmd.c | expand |
On 1/2/2019 8:13 AM, Honggang Li wrote:
> Signed-off-by: Honggang Li <honli@redhat.com>
Thanks. Applied.
-- Hal
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);
Signed-off-by: Honggang Li <honli@redhat.com> --- ibsim/sim_net.c | 8 -------- 1 file changed, 8 deletions(-)