Skip to contentSkip to conversation

hugetlbfs-inode-remove-unnecessary-void-conversions.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 1, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: hugetlbfs: inode: remove unnecessary (void*) conversions
has been removed from the -mm tree. Its filename was
hugetlbfs-inode-remove-unnecessary-void-conversions.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Li zeming <[email protected]>
Subject: hugetlbfs: inode: remove unnecessary (void*) conversions
Date: Mon, 7 Nov 2022 09:56:59 +0800

The ei pointer does not need to cast the type.

---

 fs/hugetlbfs/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/hugetlbfs/inode.c renamed from fs/hugetlbfs/inode.c~hugetlbfs-inode-remove-unnecessary-void-conversions +1 -1
@@ -1279,7 +1279,7 @@ static const struct address_space_operat
 
 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);
 }

_

Patches currently in -mm which might be from [email protected] are