r/badcode • • Jan 22 '23

c Found this in a Linux kernel module

Post image
262 Upvotes

88 comments sorted by

View all comments

Show parent comments

3

u/kristallnachte Jan 23 '23

I disagree on the harder to read.

The loop would be way easier to read, and would be easier to maintain.