Skip to contentSkip to conversation

ecryptfs: main: Remove unnecessary (void*) conversions

PATCH New Li zeming 1 participant 1 message Nov 7, 2022 Ecrypt file system

lore
Share & tools
lore

Li zeming

author
#0 lore raw

PATCH 1/1 ecryptfs: main: Remove unnecessary (void*) conversions

The ei pointer does not need to cast the type.

---
 fs/ecryptfs/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ecryptfs/main.c +1 -1
index 2dd23a82e0de..3e499207d4c6 100644
@@ -649,7 +649,7 @@ MODULE_ALIAS_FS("ecryptfs");
 static void
 inode_info_init_once(void *vptr)
 {
-	struct ecryptfs_inode_info *ei = (struct ecryptfs_inode_info *)vptr;
+	struct ecryptfs_inode_info *ei = vptr;
 
 	inode_init_once(&ei->vfs_inode);
 }
Signature · 1 line
2.18.2