mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
mtd: blkdevs: remove dead code
The only exit (break) from the preceding loop is nested within a condition which yields req == NULL. This code is dead. Coverity CID #752669 Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
99f6d50dc8
commit
e22b7651ef
1 changed files with 0 additions and 3 deletions
|
@ -171,9 +171,6 @@ static void mtd_blktrans_work(struct work_struct *work)
|
|||
background_done = 0;
|
||||
}
|
||||
|
||||
if (req)
|
||||
__blk_end_request_all(req, -EIO);
|
||||
|
||||
spin_unlock_irq(rq->queue_lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue