aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/beacon.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-04-28 15:53:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 18:18:48 -0400
commitc6a64de08e52235b570fedbe927cc5f3127ca47e (patch)
tree8d59c9acf7f64054d9766587dd86dbd5885a25b0 /drivers/uwb/beacon.c
parent992801645bd9458d9317a552e194bf27f4d53151 (diff)
uwb: fix variable set but not used warnings
Fix variable set but not used warnings in UWB. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/beacon.c')
-rw-r--r--drivers/uwb/beacon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/uwb/beacon.c b/drivers/uwb/beacon.c
index b476187adf55..f40745fcbd34 100644
--- a/drivers/uwb/beacon.c
+++ b/drivers/uwb/beacon.c
@@ -397,7 +397,6 @@ int uwbd_evt_handle_rc_beacon(struct uwb_event *evt)
397 struct uwb_rc_evt_beacon *be; 397 struct uwb_rc_evt_beacon *be;
398 struct uwb_beacon_frame *bf; 398 struct uwb_beacon_frame *bf;
399 struct uwb_beca_e *bce; 399 struct uwb_beca_e *bce;
400 unsigned long last_ts;
401 400
402 rc = evt->rc; 401 rc = evt->rc;
403 be = container_of(evt->notif.rceb, struct uwb_rc_evt_beacon, rceb); 402 be = container_of(evt->notif.rceb, struct uwb_rc_evt_beacon, rceb);
@@ -441,8 +440,6 @@ int uwbd_evt_handle_rc_beacon(struct uwb_event *evt)
441 /* purge old beacon data */ 440 /* purge old beacon data */
442 kfree(bce->be); 441 kfree(bce->be);
443 442
444 last_ts = bce->ts_jiffies;
445
446 /* Update commonly used fields */ 443 /* Update commonly used fields */
447 bce->ts_jiffies = evt->ts_jiffies; 444 bce->ts_jiffies = evt->ts_jiffies;
448 bce->be = be; 445 bce->be = be;