projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e36775
)
mfd: ssbi: Remove unused field 'slave' from 'struct ssbi'
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Wed, 24 Apr 2024 15:10:29 +0000
(17:10 +0200)
committer
Lee Jones
<lee@kernel.org>
Fri, 10 May 2024 14:39:17 +0000
(15:39 +0100)
In 'struct ssbi, the 'slave' field is unused. Remove it.
Found with cppcheck, unusedStructMember.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link:
https://lore.kernel.org/r/8a76de25cefb533d94dfe35062bbd9a8e72f4bb9.1713971415.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/ssbi.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/ssbi.c
b/drivers/mfd/ssbi.c
index b0b0be483dbf9b1f00128d8b33abb3395bf1f818..f849f2d34ec79ac66391e62f4c2bd889f23a654c 100644
(file)
--- 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;