diff options
author | Lukas Czerner <[email protected]> | 2011-05-06 19:26:28 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2011-05-06 19:26:28 -0600 |
commit | 5baebe5c86acd6100536a466905880529f79cf1a (patch) | |
tree | 6c7b4e6e170037981ea1bc094547034d3281c344 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5dba3089ed03f84b84c6c739df8330112f04a15d (diff) |
blkdev: Simple cleanup in blkdev_issue_zeroout()
In blkdev_issue_zeroout() we are submitting regular WRITE bios, so we do
not need to check for -EOPNOTSUPP specifically in case of error. Also
there is no need to have label submit: because there is no way to jump
out from the while cycle without an error and we really want to exit,
rather than try again. And also remove the check for (sz == 0) since at
that point sz can never be zero.
Signed-off-by: Lukas Czerner <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
CC: Dmitry Monakhov <[email protected]>
CC: Jens Axboe <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions