aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGu Zheng <[email protected]>2014-04-03 14:47:16 -0700
committerLinus Torvalds <[email protected]>2014-04-03 16:20:57 -0700
commit2b665e276c15ba7d9fc8cdd16931883a51ed13e4 (patch)
tree69853d98f18d80cb04dc20c74d1e0e37d6c1a162 /tools/perf/scripts/python
parent9c339255cb01806efbaec3d296f3e44c9357d574 (diff)
fs/direct-io.c: remove redundant comparison
The return value of bio_get_nr_vecs() cannot be bigger than BIO_MAX_PAGES, so we can remove redundant the comparison between nr_pages and BIO_MAX_PAGES. Signed-off-by: Gu Zheng <[email protected]> Cc: Al Viro <[email protected]> Reviewed-by: Jeff Moyer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions