]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/net/ynl: remove extraneous plural from variable names
authorDonald Hunter <donald.hunter@gmail.com>
Tue, 11 Feb 2025 12:01:18 +0000 (12:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 03:32:00 +0000 (19:32 -0800)
commit2151003e773c7e7dba4d64bed4bfc483681b5f6a
tree1eb2352370aeb658a4a6ced0bd73cd37e1f66a49
parent443b5ca4d7245eec9a9192461113a4c341e441e5
tools/net/ynl: remove extraneous plural from variable names

_decode_array_attr() uses variable subattrs in every branch when only
one branch decodes more than a single attribute.

Change the variable name to subattr in the branches that only decode a
single attribute so that the intent is more obvious.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250211120127.84858-2-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/lib/ynl.py