diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-10-26 11:35:01 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2022-11-01 11:23:28 +0100 |
commit | eb30a7a5c88f65d06c35c2268af0075c0d6d803e (patch) | |
tree | e7dc231c68d929191e5fa38908ac49e9c47e4a1d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d1c7d87030be2a0043620b240cdb88199396366 (diff) |
mac802154: Clarify an expression
While going through the whole interface opening logic in my head I was
consistently bothered by the condition checking whether there was only
one interface of type NODE/COORD opened at the same time. What actually
bothered me was the fact that in one case we would use the wpan_dev
pointer directly while in the other case we would use the sdata pointer,
making it harder to differentiate both. In practice the condition should
be straightforward to read. IMHO dropping the wpan_dev indirection
allows to clarify the check.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20221026093502.602734-3-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions