diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2019-11-26 09:28:47 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-26 09:28:47 -0800 |
commit | 88cfd30e188fcf6fd8304586c936a6f22fb665e5 (patch) | |
tree | ce91761c343bad36b9b1c26b689167d972f927be /block/opal_proto.h | |
parent | f550ee9b85fd47f85e31965b908a7c1044c531aa (diff) | |
download | linux-88cfd30e188fcf6fd8304586c936a6f22fb665e5.tar.bz2 |
iomap: remove unneeded variable in iomap_dio_rw()
The 'start' variable indicates the start of a filemap and is set to the
iocb's position, which we have already cached as 'pos', upon function
entry.
'pos' is used as a cursor indicating the current position and updated
later in iomap_dio_rw(), but not before the last use of 'start'.
Remove 'start' as it's synonym for 'pos' before we're entering the loop
calling iomapp_apply().
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions