HomeClusterLabs Projects

Fix: remove duplicate judgement of (have_name < 0) in kronosnetd/vty_cli_cmds.c

Description

Fix: remove duplicate judgement of (have_name < 0) in kronosnetd/vty_cli_cmds.c

In line 1087 of kronosnetd/vty_cli_cmds.c, there is a judgement of
(have_name < 0), when have_name < 0, it will return 0, which make
the judge of have_name < 0 in line 1094 will never be executed.
Remove the unnecessary judgement.

Details

Provenance
Bin Liu <bliu@suse.com>Authored on Feb 17 2017, 2:44 AM
Parents
rKfe063ca9d64c: [tests] port knet_bench to use internal version recvmmsg
Branches
Unknown
Tags
Unknown

Event Timeline