[PATCH] iio: chemical: bme680: remove unused BME680_NUM_CHANNELS macro

Nikhil Gautam
2026-04-07T09:03:41Z

The BME680_NUM_CHANNELS macro is not used anywhere in the driver.
Remove it to avoid keeping dead code and to improve readability.

No functional change intended.

Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com>
---
drivers/iio/chemical/bme680.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
index 7d86ed8b02e6..e10d3aaaca23 100644
--- a/drivers/iio/chemical/bme680.h
+++ b/drivers/iio/chemical/bme680.h
@@ -68,7 +68,6 @@
/* Datasheet Section 1.1, Table 1 */
#define BME680_STARTUP_TIME_US 2000

-#define BME680_NUM_CHANNELS 4
#define BME680_NUM_BULK_READ_REGS 15

/* Calibration Parameters */
--
2.43.0