diff options
author | Nikolay Borisov | 2018-04-06 01:24:36 +0200 |
---|---|---|
committer | Linus Torvalds | 2018-04-06 06:36:26 +0200 |
commit | 1c0ff0f1bdeb183608ac9a345996d4d1ebfed632 (patch) | |
tree | 1ca94c2e881984e07a3f44229b593bd0c7e1fbc8 /arch/arm/mach-omap2/gpmc.h | |
parent | include/linux/mm.h: provide consistent declaration for num_poisoned_pages (diff) | |
download | kernel-qcow2-linux-1c0ff0f1bdeb183608ac9a345996d4d1ebfed632.tar.gz kernel-qcow2-linux-1c0ff0f1bdeb183608ac9a345996d4d1ebfed632.tar.xz kernel-qcow2-linux-1c0ff0f1bdeb183608ac9a345996d4d1ebfed632.zip |
fs/direct-io.c: minor cleanups in do_blockdev_direct_IO
We already get the block counts and calculate the end block at the
beginning of the function. Let's use the local variables for
consistency and readability. No functional changes
[akpm@linux-foundation.org: constify the locals to prevent future slipups]
Link: http://lkml.kernel.org/r/1519638870-17756-1-git-send-email-nborisov@suse.com
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc.h')
0 files changed, 0 insertions, 0 deletions