X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Ftools%2Fvppapigen%2Fvppapigen.py;fp=src%2Ftools%2Fvppapigen%2Fvppapigen.py;h=0782dd294abcbd66ccd189575a1e84515be0bcca;hb=791c2061aedce4e7229be5bad6acee0a6e91e1a9;hp=b80dd4d9f7d35971d7081e588644143ef9908a16;hpb=b71653e9a82d21169a7b3ee770dd2c2e86eba80e;p=vpp.git diff --git a/src/tools/vppapigen/vppapigen.py b/src/tools/vppapigen/vppapigen.py index b80dd4d9f7d..0782dd294ab 100755 --- a/src/tools/vppapigen/vppapigen.py +++ b/src/tools/vppapigen/vppapigen.py @@ -308,7 +308,6 @@ class Define(Processable): self.manual_print = False self.manual_endian = False self.autoreply = False - self.singular = False self.options = {} for f in flags: if f == 'dont_trace': @@ -323,10 +322,7 @@ class Define(Processable): remove = [] for b in block: if isinstance(b, Option): - if b[1] == 'singular' and b[2] == 'true': - self.singular = True - else: - self.options[b.option] = b.value + self.options[b.option] = b.value remove.append(b) block = [x for x in block if x not in remove] @@ -1042,8 +1038,6 @@ class VPPAPI(): for d in msgs: if d in seen_services: continue - if msgs[d].singular is True: - continue if d.endswith('_reply'): if d[:-6] in svcs: continue