mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	hugetlbfs: inode: remove unnecessary (void*) conversions
The ei pointer does not need to cast the type. Link: https://lkml.kernel.org/r/20221107015659.3221-1-zeming@nfschina.com Signed-off-by: Li zeming <zeming@nfschina.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									e83b39d6bb
								
							
						
					
					
						commit
						dbaf7dc97a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1279,7 +1279,7 @@ static const struct address_space_operations hugetlbfs_aops = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void init_once(void *foo)
 | 
					static void init_once(void *foo)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct hugetlbfs_inode_info *ei = (struct hugetlbfs_inode_info *)foo;
 | 
						struct hugetlbfs_inode_info *ei = foo;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	inode_init_once(&ei->vfs_inode);
 | 
						inode_init_once(&ei->vfs_inode);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue