integrity: iint: Remove unnecessary (void*) conversions
Subsystems (4)
PATCH 1/1 integrity: iint: Remove unnecessary (void*) conversions
The iint pointer does not need to cast the type.
Signed-off-by Li zeming <[email protected]>
--- security/integrity/iint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/integrity/iint.c +1 -1
@@ -160,7 +160,7 @@ void integrity_inode_free(struct inode *inode)static void init_once (void *foo) { -struct integrity_iint_cache *iint = (struct integrity_iint_cache *) foo; +struct integrity_iint_cache *iint = foo;memset (iint,0 ,sizeof (*iint)); iint->ima_file_status =INTEGRITY_UNKNOWN ;
Signature · 1 line
2.18.2