mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
tools: ynl: remove unnecessary semicolons
These semicolons are not required according to Ruff. Simply remove them. This is linked to Ruff error E703 [1]: A trailing semicolon is unnecessary and should be removed. Link: https://docs.astral.sh/ruff/rules/useless-semicolon/ [1] Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Asbjørn Sloth Tønnesen <ast@fiberby.net> Link: https://patch.msgid.link/20250909-net-next-ynl-ruff-v1-6-238c2bccdd99@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
389712b0da
commit
616129d6b4
|
|
@ -501,7 +501,7 @@ class SpecFamily(SpecElement):
|
|||
return SpecStruct(self, elem)
|
||||
|
||||
def new_sub_message(self, elem):
|
||||
return SpecSubMessage(self, elem);
|
||||
return SpecSubMessage(self, elem)
|
||||
|
||||
def new_operation(self, elem, req_val, rsp_val):
|
||||
return SpecOperation(self, elem, req_val, rsp_val)
|
||||
|
|
|
|||
|
|
@ -738,7 +738,7 @@ class YnlFamily(SpecFamily):
|
|||
decoded = {}
|
||||
offset = 0
|
||||
if msg_format.fixed_header:
|
||||
decoded.update(self._decode_struct(attr.raw, msg_format.fixed_header));
|
||||
decoded.update(self._decode_struct(attr.raw, msg_format.fixed_header))
|
||||
offset = self._struct_size(msg_format.fixed_header)
|
||||
if msg_format.attr_set:
|
||||
if msg_format.attr_set in self.attr_sets:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user