diff options
author | Anna-Maria Gleixner <anna-maria@linutronix.de> | 2018-05-04 17:32:46 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-08 00:26:36 +0300 |
commit | 656cb6d03e3df309d6e3954dc62f1d30f9462397 (patch) | |
tree | f6d288dd77029968c2af44e40825f8a86e879ae1 /scripts | |
parent | f3a1075e5fc3434f1b7af601180dd976b754ec0c (diff) | |
download | linux-656cb6d03e3df309d6e3954dc62f1d30f9462397.tar.xz |
block: Remove redundant WARN_ON()
Commit 2fff8a924d4c ("block: Check locking assumptions at runtime") added a
lockdep_assert_held(q->queue_lock) which makes the WARN_ON() redundant
because lockdep will detect and warn about context violations.
The unconditional WARN_ON() does not provide real additional value, so it
can be removed.
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions