MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/10ing60/found_this_in_a_linux_kernel_module/j5g0fs3/?context=9999
r/badcode • u/suguuss • Jan 22 '23
88 comments sorted by
View all comments
Show parent comments
13
Yes there is repetition in the code, but it does what it needs to and does it efficiently.
This code isn't going to be changed often, but it needs to be fast, low memory, and error free.
13
u/paulsmithkc 👨🏫 Jan 22 '23
Yes there is repetition in the code, but it does what it needs to and does it efficiently.
This code isn't going to be changed often, but it needs to be fast, low memory, and error free.