summaryrefslogtreecommitdiff
path: root/drivers/char/powernv-op-panel.c
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2017-10-13 15:46:24 +0300
committerJens Axboe <axboe@kernel.dk>2017-10-13 17:34:57 +0300
commit0f9248cf1e22333b2a0458540aafb1ad3b2b3337 (patch)
treed55104aad57bc9ac37717f4237c12a99c6095ba8 /drivers/char/powernv-op-panel.c
parent7bd4d370db6090004a06deb526f0f01fa99a3f9f (diff)
downloadlinux-0f9248cf1e22333b2a0458540aafb1ad3b2b3337.tar.xz
lightnvm: pblk: remove redundant check on read path
A partial read I/O in pblk is an I/O where some sectors reside in the write buffer in main memory and some are persisted on the device. Such an I/O must at least contain 2 lbas, therefore checking for the case where a single lba is mapped is not necessary. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/char/powernv-op-panel.c')
0 files changed, 0 insertions, 0 deletions