linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] iio: adis16400: Remove unused variable
@ 2014-07-03  6:38 Sachin Kamat
  2014-07-03  6:38 ` [PATCH 2/5] iio: ad5624r_spi: Remove redundant variable Sachin Kamat
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Sachin Kamat @ 2014-07-03  6:38 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, spk.linux, Lars-Peter Clausen

'rx' is not used in this function. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
---
 drivers/iio/imu/adis16400_buffer.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/iio/imu/adis16400_buffer.c b/drivers/iio/imu/adis16400_buffer.c
index f2cf829..6e727ff 100644
--- a/drivers/iio/imu/adis16400_buffer.c
+++ b/drivers/iio/imu/adis16400_buffer.c
@@ -18,7 +18,7 @@ int adis16400_update_scan_mode(struct iio_dev *indio_dev,
 {
 	struct adis16400_state *st = iio_priv(indio_dev);
 	struct adis *adis = &st->adis;
-	uint16_t *tx, *rx;
+	uint16_t *tx;
 
 	if (st->variant->flags & ADIS16400_NO_BURST)
 		return adis_update_scan_mode(indio_dev, scan_mask);
@@ -35,7 +35,6 @@ int adis16400_update_scan_mode(struct iio_dev *indio_dev,
 	if (!adis->buffer)
 		return -ENOMEM;
 
-	rx = adis->buffer;
 	tx = adis->buffer + indio_dev->scan_bytes;
 
 	tx[0] = ADIS_READ_REG(ADIS16400_GLOB_CMD);
-- 
1.7.9.5

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

end of thread, other threads:[~2014-07-03 20:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03  6:38 [PATCH 1/5] iio: adis16400: Remove unused variable Sachin Kamat
2014-07-03  6:38 ` [PATCH 2/5] iio: ad5624r_spi: Remove redundant variable Sachin Kamat
2014-07-03  7:24   ` Lars-Peter Clausen
2014-07-03 20:58     ` Jonathan Cameron
2014-07-03  6:38 ` [PATCH 3/5] iio: ad5504: " Sachin Kamat
2014-07-03  7:24   ` Lars-Peter Clausen
2014-07-03 20:59     ` Jonathan Cameron
2014-07-03  6:38 ` [PATCH 4/5] iio: ad5686: " Sachin Kamat
2014-07-03  7:25   ` Lars-Peter Clausen
2014-07-03 21:01     ` Jonathan Cameron
2014-07-03  6:38 ` [PATCH 5/5] iio: xilinx-xadc: Remove unused variable Sachin Kamat
2014-07-03  7:25   ` Lars-Peter Clausen
2014-07-03 21:01     ` Jonathan Cameron
2014-07-03  7:23 ` [PATCH 1/5] iio: adis16400: " Lars-Peter Clausen
2014-07-03 20:47   ` 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).