From bf359dff2346d490dbbbe0fcc4aa674625803da5 Mon Sep 17 00:00:00 2001 From: Thomas Pugliese Date: Fri, 20 Dec 2013 11:54:09 -0600 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/uwb/rsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/uwb') diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c index 4e7e4bf7542..3fe61194104 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); } } -- cgit v1.2.3-70-g09d2