From c6a64de08e52235b570fedbe927cc5f3127ca47e Mon Sep 17 00:00:00 2001 From: Thomas Pugliese Date: Mon, 28 Apr 2014 14:53:27 -0500 Subject: uwb: fix variable set but not used warnings Fix variable set but not used warnings in UWB. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- drivers/uwb/est.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/uwb/est.c') diff --git a/drivers/uwb/est.c b/drivers/uwb/est.c index 457f31d99bf4..f3e232584284 100644 --- a/drivers/uwb/est.c +++ b/drivers/uwb/est.c @@ -258,7 +258,6 @@ int uwb_est_register(u8 type, u8 event_high, u16 vendor, u16 product, { unsigned long flags; unsigned itr; - u16 type_event_high; int result = 0; write_lock_irqsave(&uwb_est_lock, flags); @@ -268,7 +267,6 @@ int uwb_est_register(u8 type, u8 event_high, u16 vendor, u16 product, goto out; } /* Find the right spot to insert it in */ - type_event_high = type << 8 | event_high; for (itr = 0; itr < uwb_est_used; itr++) if (uwb_est[itr].type_event_high < type && uwb_est[itr].vendor < vendor -- cgit v1.2.2