summaryrefslogtreecommitdiffstats
path: root/dmascc/dmascc_cfg.1
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-08-01 02:37:32 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-08-03 04:21:23 +0200
commit4ae678eaf8a48d548308a57e23df38c7afca8a0e (patch)
tree9f210ff77c324340d7164f02577f608b28a8a310 /dmascc/dmascc_cfg.1
parentdc615514c9bcc1895d7d2082fce7d3add084c90c (diff)
rip98d: Perform a crapectomy on hex2intrev().
hex2intrev is a hilariously complicated function which combine parsing a hexadecimal integer in network byte order and swapping the result to host byte order. Move the endianess swapping to the caller which allows to remove double endianess swapping. Now that hex2intrev no longer deals with byte order rename it to hex2int and replace its implementation with a simple invocation of strtoul. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'dmascc/dmascc_cfg.1')
0 files changed, 0 insertions, 0 deletions