diff options
| author | rillig <rillig@NetBSD.org> | 2021-06-20 20:48:25 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2021-06-20 20:48:25 +0000 |
| commit | cf5f5a5a0199ef5f285683cf1ef3286aca1584cd (patch) | |
| tree | 985bb3eda09530cb836c71bfad13e28d0147a1ed /sys/dev | |
| parent | d62d9345e39c41a42ca1a432c1975baa54576b84 (diff) | |
lint: remove unnecessary call to print_tnode
For the possible operators that occur in message 324, print_tnode is
equivalent to op_name, and the latter is simpler.
When the function print_node was added to the code base, it had another
use in init.c, for understanding how initialization works in lint. That
code has since been rewritten completely, therefore print_tnode is no
longer needed. For debugging, display_expression is the better choice
since it has multi-line output and does not suffer from a fixed-length
buffer.
No functional change.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
