git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ceb05
)
bsg: remove unnecessary conditional expressions
author
Namhyung Kim
<namhyung@gmail.com>
Mon, 20 Jun 2011 11:27:44 +0000
(13:27 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Mon, 20 Jun 2011 11:27:44 +0000
(13:27 +0200)
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
patch
|
blob
|
history
diff --cc
block/bsg.c
Simple merge