mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08: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
@ -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 New Issue
Block a user