aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8563.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-11-26 09:28:47 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-26 09:28:47 -0800
commit88cfd30e188fcf6fd8304586c936a6f22fb665e5 (patch)
treece91761c343bad36b9b1c26b689167d972f927be /drivers/rtc/rtc-pcf8563.c
parentiomap: Do not create fake iter in iomap_dio_bio_actor() (diff)
downloadlinux-dev-88cfd30e188fcf6fd8304586c936a6f22fb665e5.tar.xz
linux-dev-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 'drivers/rtc/rtc-pcf8563.c')
0 files changed, 0 insertions, 0 deletions