Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH v3 1/3] block: simplify calling convention of elv_unregister_queue() | From | Bart Van Assche <> | Date | Thu, 9 Dec 2021 11:00:17 -0800 |
| |
On 12/7/21 5:35 PM, Eric Biggers wrote: > From: Eric Biggers <ebiggers@google.com> > > Make elv_unregister_queue() a no-op if q->elevator is NULL or is not > registered. > > This simplifies the existing callers, as well as the future caller in > the error path of blk_register_queue(). > > Also don't bother checking whether q is NULL, since it never is.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
| ![\](/images/icornerr.gif) |