diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2019-11-26 18:28:47 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-26 18:28:47 +0100 |
commit | 88cfd30e188fcf6fd8304586c936a6f22fb665e5 (patch) | |
tree | ce91761c343bad36b9b1c26b689167d972f927be /fs/tracefs | |
parent | iomap: Do not create fake iter in iomap_dio_bio_actor() (diff) | |
download | linux-88cfd30e188fcf6fd8304586c936a6f22fb665e5.tar.xz linux-88cfd30e188fcf6fd8304586c936a6f22fb665e5.zip |
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 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions