api: remove unused singular option
The singular option to the API language was added as a way to deal with messages
that do not have a reply message. Examples in memclnt.api.
Instead dealt with these messages using the service {} construct.
Type: refactor
@@ -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,9 +322,6 @@ 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
remove.append(b)
@@ -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
