Skip to contentSkip to conversation

s390-dasd-remove-dasd_stats_generic_show.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 11, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: s390/dasd: remove dasd_stats_generic_show()
has been removed from the -mm tree. Its filename was
s390-dasd-remove-dasd_stats_generic_show.patch

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

------------------------------------------------------
From: Nathan Chancellor <[email protected]>
Subject: s390/dasd: remove dasd_stats_generic_show()
Date: Thu, 30 Nov 2023 17:22:32 -0700

Patch series "s390: A couple of fixes for -Wmissing-prototypes".

This series resolves a couple of -Wmissing-prototypes that I see in my builds of -next, even though the issues appear to be latent. This addresses issues which will be exposed by the later patch "Makefile.extrawarn: turn on missing-prototypes globally".

This patch (of 2):

With CONFIG_DASD_PROFILE=n, there is a warning that dasd_stats_generic_show() is missing a prototype:

drivers/s390/block/dasd.c:1109:5: warning: no previous prototype for 'dasd_stats_generic_show' [-Wmissing-prototypes]
1109 | int dasd_stats_generic_show(struct seq_file *m, void *v)

        |     ^~~~~~~~~~~~~~~~~~~~~~~

This function has been unused since its introduction in commit 4fa52aa7a82f ("[S390] dasd: add enhanced DASD statistics interface"), remove it to clear up the warning.

---

 drivers/s390/block/dasd.c |    6 ------
 1 file changed, 6 deletions(-)
drivers/s390/block/dasd.c renamed from drivers/s390/block/dasd.c~s390-dasd-remove-dasd_stats_generic_show +0 -6
@@ -1106,12 +1106,6 @@ static void dasd_statistics_removeroot(v
 	return;
 }
 
-int dasd_stats_generic_show(struct seq_file *m, void *v)
-{
-	seq_puts(m, "Statistics are not activated in this kernel\n");
-	return 0;
-}
-
 static void dasd_profile_init(struct dasd_profile *profile,
 			      struct dentry *base_dentry)
 {

_

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

buffer-fix-grow_buffers-for-block-size-page_size-fix.patch