summaryrefslogtreecommitdiff
path: root/drivers/uwb/rsv.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-12-20 21:54:09 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-21 00:19:13 +0400
commitbf359dff2346d490dbbbe0fcc4aa674625803da5 (patch)
tree6f1e748dba3546beccd188e36e908ed3207be955 /drivers/uwb/rsv.c
parent67d0fb2592acdd7cc41129279de2e520d53d68f0 (diff)
downloadlinux-bf359dff2346d490dbbbe0fcc4aa674625803da5.tar.xz
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>
Diffstat (limited to 'drivers/uwb/rsv.c')
-rw-r--r--drivers/uwb/rsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c
index 4e7e4bf7542e..3fe611941046 100644
--- a/drivers/uwb/rsv.c
+++ b/drivers/uwb/rsv.c
@@ -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);
}
}