Commit bf359dff authored by Thomas Pugliese's avatar Thomas Pugliese Committed by Greg Kroah-Hartman

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: default avatarThomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 67d0fb25
...@@ -919,7 +919,7 @@ static void uwb_rsv_alien_bp_work(struct work_struct *work) ...@@ -919,7 +919,7 @@ static void uwb_rsv_alien_bp_work(struct work_struct *work)
list_for_each_entry(rsv, &rc->reservations, rc_node) { list_for_each_entry(rsv, &rc->reservations, rc_node) {
if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) { if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) {
rsv->callback(rsv); uwb_rsv_callback(rsv);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment