From: Lukas Czerner Date: Sat, 7 May 2011 01:26:28 +0000 (-0600) Subject: blkdev: Simple cleanup in blkdev_issue_zeroout() X-Git-Tag: v3.0-rc1~163^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5baebe5c86acd6100536a466905880529f79cf1a;p=pandora-kernel.git 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 Reviewed-by: Jeff Moyer CC: Dmitry Monakhov CC: Jens Axboe Signed-off-by: Jens Axboe --- Reading git-diff-tree failed