mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
uwb: use uwb_rsv_callback instead of calling rsv->callback directly
Use uwb_rsv_callback wrapper instead of calling rsv->callback directly. uwb_rsv_callback checks for NULL and is used by other callers of the callback routine. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
67d0fb2592
commit
bf359dff23
@ -919,7 +919,7 @@ static void uwb_rsv_alien_bp_work(struct work_struct *work)
|
||||
|
||||
list_for_each_entry(rsv, &rc->reservations, rc_node) {
|
||||
if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) {
|
||||
rsv->callback(rsv);
|
||||
uwb_rsv_callback(rsv);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user