cpusched: cleanups, refactoring and fix one bug
commitc0a4ab36757c590b09b2a9cab8d48235c303d14b
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 15 Jun 2013 15:31:32 +0000 (15 17:31 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 15 Jun 2013 15:31:32 +0000 (15 17:31 +0200)
treed297323a687683d8c0ef047ff453d96a19004091
parente48c760ee1d369be0cf15eeb3962d48bab9f97ea
cpusched: cleanups, refactoring and fix one bug

Fix the bug in "if (!entry == 0 && errno == ENOENT)" and also do some
cleanups, make the code more readable and remove useless stuff. Used
in curvetun.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
cpusched.c