From: Christophe JAILLET Date: Wed, 24 Apr 2024 15:10:29 +0000 (+0200) Subject: mfd: ssbi: Remove unused field 'slave' from 'struct ssbi' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57b323b3dff6bdc318244bcc43d086e563b36b61;p=linux.git mfd: ssbi: Remove unused field 'slave' from 'struct ssbi' In 'struct ssbi, the 'slave' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/8a76de25cefb533d94dfe35062bbd9a8e72f4bb9.1713971415.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/ssbi.c b/drivers/mfd/ssbi.c index b0b0be483dbf9..f849f2d34ec79 100644 --- a/drivers/mfd/ssbi.c +++ b/drivers/mfd/ssbi.c @@ -64,7 +64,6 @@ enum ssbi_controller_type { }; struct ssbi { - struct device *slave; void __iomem *base; spinlock_t lock; enum ssbi_controller_type controller_type;