summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-02-02 22:23:30 +0000
committerrillig <rillig@NetBSD.org>2023-02-02 22:23:30 +0000
commit0fc2b6647352fa0b879a5f098fec96219db7c7be (patch)
tree810a8cf8148009962251766f0041d9e78733a523 /sys/dev
parent3d4541969b0a2c1a5de12d9458e6161c158b16b5 (diff)
lint: clean up
In symtab_search, most of the conditions were redundant, so remove them. In read_byte, using CHAR_MASK was conceptually wrong, as that constant is from the target platform while the lexical analysis happens on the host platform. It was unnecessary as well, as a hypothetical host platform with 36-bit chars might encode the characters from the basic source character set as numbers higher than 0x0_0000_00ff. Since lint assumes that both the source character set as well as the execution character set are the same and based on 8-bit bytes, nothing changes. No functional change.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions