diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-12-20 12:54:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 15:19:13 -0500 |
commit | bf359dff2346d490dbbbe0fcc4aa674625803da5 (patch) | |
tree | 6f1e748dba3546beccd188e36e908ed3207be955 | |
parent | 67d0fb2592acdd7cc41129279de2e520d53d68f0 (diff) |
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>
-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) | |||
919 | 919 | ||
920 | list_for_each_entry(rsv, &rc->reservations, rc_node) { | 920 | list_for_each_entry(rsv, &rc->reservations, rc_node) { |
921 | if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) { | 921 | if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) { |
922 | rsv->callback(rsv); | 922 | uwb_rsv_callback(rsv); |
923 | } | 923 | } |
924 | } | 924 | } |
925 | 925 | ||