diff options
author | Johannes Thumshirn <[email protected]> | 2019-11-26 09:28:47 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2019-11-26 09:28:47 -0800 |
commit | 88cfd30e188fcf6fd8304586c936a6f22fb665e5 (patch) | |
tree | ce91761c343bad36b9b1c26b689167d972f927be /kernel/bpf/stackmap.c | |
parent | f550ee9b85fd47f85e31965b908a7c1044c531aa (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions