summaryrefslogtreecommitdiff
path: root/drivers/uwb/ie-rcv.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-04-28 14:53:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:18:48 -0700
commitc6a64de08e52235b570fedbe927cc5f3127ca47e (patch)
tree8d59c9acf7f64054d9766587dd86dbd5885a25b0 /drivers/uwb/ie-rcv.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/ie-rcv.c')
-rw-r--r--drivers/uwb/ie-rcv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/uwb/ie-rcv.c b/drivers/uwb/ie-rcv.c
index 917e6d78a798..5fac5744a699 100644
--- a/drivers/uwb/ie-rcv.c
+++ b/drivers/uwb/ie-rcv.c
@@ -31,7 +31,6 @@ int uwbd_evt_handle_rc_ie_rcv(struct uwb_event *evt)
int result = -EINVAL;
struct device *dev = &evt->rc->uwb_dev.dev;
struct uwb_rc_evt_ie_rcv *iercv;
- size_t iesize;
/* Is there enough data to decode it? */
if (evt->notif.size < sizeof(*iercv)) {
@@ -41,7 +40,6 @@ int uwbd_evt_handle_rc_ie_rcv(struct uwb_event *evt)
goto error;
}
iercv = container_of(evt->notif.rceb, struct uwb_rc_evt_ie_rcv, rceb);
- iesize = le16_to_cpu(iercv->wIELength);
dev_dbg(dev, "IE received, element ID=%d\n", iercv->IEData[0]);