linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] staging: iio: isl29018: remove unused variable and defines
@ 2016-09-25 11:41 Brian Masney
  2016-09-25 11:41 ` [PATCH 2/3] staging: iio: isl29018: made error handling consistent Brian Masney
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brian Masney @ 2016-09-25 11:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-iio, devel

Removes unused variable and associated #defines that was found using
make W=1.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
 drivers/staging/iio/light/isl29018.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index 76d9f74..ad282f1 100644
--- a/drivers/staging/iio/light/isl29018.c
+++ b/drivers/staging/iio/light/isl29018.c
@@ -66,16 +66,6 @@
 #define ISL29035_BOUT_SHIFT		0x07
 #define ISL29035_BOUT_MASK		(0x01 << ISL29035_BOUT_SHIFT)
 
-#define ISL29018_INT_TIME_AVAIL		"0.090000 0.005630 0.000351 0.000021"
-#define ISL29023_INT_TIME_AVAIL		"0.090000 0.005600 0.000352 0.000022"
-#define ISL29035_INT_TIME_AVAIL		"0.105000 0.006500 0.000410 0.000025"
-
-static const char * const int_time_avail[] = {
-	ISL29018_INT_TIME_AVAIL,
-	ISL29023_INT_TIME_AVAIL,
-	ISL29035_INT_TIME_AVAIL,
-};
-
 enum isl29018_int_time {
 	ISL29018_INT_TIME_16,
 	ISL29018_INT_TIME_12,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-25 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25 11:41 [PATCH 1/3] staging: iio: isl29018: remove unused variable and defines Brian Masney
2016-09-25 11:41 ` [PATCH 2/3] staging: iio: isl29018: made error handling consistent Brian Masney
2016-09-25 14:28   ` Jonathan Cameron
2016-09-25 11:41 ` [PATCH 3/3] staging: iio: isl29018: fix comparison between signed and unsigned integers Brian Masney
2016-09-25 14:32   ` Jonathan Cameron
2016-09-25 14:26 ` [PATCH 1/3] staging: iio: isl29018: remove unused variable and defines Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).