diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-12-20 18:54:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 21:19:13 +0100 |
commit | bf359dff2346d490dbbbe0fcc4aa674625803da5 (patch) | |
tree | 6f1e748dba3546beccd188e36e908ed3207be955 /drivers/uwb/rsv.c | |
parent | uwb: whitespace and comment cleanups (diff) | |
download | linux-bf359dff2346d490dbbbe0fcc4aa674625803da5.tar.xz linux-bf359dff2346d490dbbbe0fcc4aa674625803da5.zip |
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.c | 2 |
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); } } |