]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: apply bool value where we return 0/1
authorJens Axboe <jens.axboe@oracle.com>
Wed, 7 Oct 2009 18:02:57 +0000 (20:02 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Oct 2009 18:02:57 +0000 (20:02 +0200)
commita6151c3a5c8e1ff5a28450bc8d6a99a2a0add0a7
tree47896def7d76c1f81d3c358a9aaee158a253b2b6
parentec60e4f6749daf535329dac571293cf19c627aff
cfq-iosched: apply bool value where we return 0/1

Saves 16 bytes of text, woohoo. But the more important point is
that it makes the code more readable when returning bool for 0/1
cases.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c