]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
i2c: qcom-cci: Remove unused CCI_RES_MAX macro definition
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Thu, 26 Mar 2026 16:53:45 +0000 (18:53 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 27 Mar 2026 13:24:15 +0000 (14:24 +0100)
Trivial change, a never used macro CCI_RES_MAX can be removed from
the CCI driver.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260326165345.762807-1-vladimir.zapolskiy@linaro.org
drivers/i2c/busses/i2c-qcom-cci.c

index 884055df1560fd383b194bf3423d1add9a27e5af..f3ccfbbc4bea25a66e120342afc2540d775989a8 100644 (file)
@@ -71,9 +71,6 @@
 #define NUM_MASTERS    2
 #define NUM_QUEUES     2
 
-/* Max number of resources + 1 for a NULL terminator */
-#define CCI_RES_MAX    6
-
 #define CCI_I2C_SET_PARAM      1
 #define CCI_I2C_REPORT         8
 #define CCI_I2C_WRITE          9