Skip to contentSkip to conversation

linux-profileh-remove-unnecessary-declaration.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 8, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: linux/profile.h: remove unnecessary declaration
has been removed from the -mm tree. Its filename was
linux-profileh-remove-unnecessary-declaration.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Wan Jiabing <[email protected]>
Subject: linux/profile.h: remove unnecessary declaration

Declaring struct pt_regs is unnecessary. On the one hand, there is no function using it; on the other hand, struct pt_regs has been declared in linux/kernel.h. Remove them.

---

 include/linux/profile.h |    3 ---
 1 file changed, 3 deletions(-)
include/linux/profile.h renamed from include/linux/profile.h~linux-profileh-remove-unnecessary-declaration +0 -3
@@ -15,7 +15,6 @@
 #define KVM_PROFILING	4
 
 struct proc_dir_entry;
-struct pt_regs;
 struct notifier_block;
 
 #if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS)
@@ -84,8 +83,6 @@ int task_handoff_unregister(struct notif
 int profile_event_register(enum profile_type, struct notifier_block * n);
 int profile_event_unregister(enum profile_type, struct notifier_block * n);
 
-struct pt_regs;
-
 #else
 
 #define prof_on 0

_

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