bsg: remove unnecessary conditional expressions
authorNamhyung Kim <namhyung@gmail.com>
Mon, 20 Jun 2011 11:27:44 +0000 (13:27 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 20 Jun 2011 11:27:44 +0000 (13:27 +0200)
commit44194e3e88fcfe77a2a6e2333847d4f27816259a
tree66d3aa40d385570b0c269b28371f086fa6ca6244
parent80ceb057135ad77f513277f3bcd04b885501877a
bsg: remove unnecessary conditional expressions

Second condition in OR always implies first condition is false
thus bytes_read in the second is not needed. The same goes to
bytes_written.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/bsg.c