chiark / gitweb /
copy: drop _unlikely_() that isn't obviously the case
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Mar 2018 17:24:07 +0000 (18:24 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitab959b08aaa808f4b2b48295e06e3eb103600958
tree5d3d087366e9daa744bc4bd2f6b45ef7ab630c5e
parent68055130494fecb49dd775934661a687cc8f8e58
copy: drop _unlikely_() that isn't obviously the case

If a tool only invokes copy_bytes() a single time the _unlikely_() will always be
wrong, and is hence not useful. Let's drop it and let the compiler
figure our what to do, instead of misleading it.

Also, some coding style imprvoements.
src/basic/copy.c