mfd: qcom-pm8xxx: Remove set but unused variable 'rev'
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 27 Dec 2022 08:19:21 +0000 (16:19 +0800)
committerLee Jones <lee@kernel.org>
Wed, 22 Feb 2023 08:25:52 +0000 (08:25 +0000)
commit49184844b6653292b2954304005357ef6828b0fa
treed995ed7f3f8b13360a46a2650249d248f7b8b451
parent0b05327947dc68e8901477ced9ea6f8e3fb0c5f5
mfd: qcom-pm8xxx: Remove set but unused variable 'rev'

Variable rev is not effectively used in the function, so delete it.

  drivers/mfd/qcom-pm8xxx.c:513:6: warning: variable 'rev' set but not used.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3558
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221227081921.56448-1-jiapeng.chong@linux.alibaba.com
drivers/mfd/qcom-pm8xxx.c