File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -650,7 +650,6 @@ struct trace_event_file {
650
650
struct trace_event_call * event_call ;
651
651
struct event_filter __rcu * filter ;
652
652
struct eventfs_file * ef ;
653
- struct dentry * dir ;
654
653
struct trace_array * tr ;
655
654
struct trace_subsystem_dir * system ;
656
655
struct list_head triggers ;
Original file line number Diff line number Diff line change @@ -992,19 +992,6 @@ static void remove_subsystem(struct trace_subsystem_dir *dir)
992
992
993
993
static void remove_event_file_dir (struct trace_event_file * file )
994
994
{
995
- struct dentry * dir = file -> dir ;
996
- struct dentry * child ;
997
-
998
- if (dir ) {
999
- spin_lock (& dir -> d_lock ); /* probably unneeded */
1000
- list_for_each_entry (child , & dir -> d_subdirs , d_child ) {
1001
- if (d_really_is_positive (child )) /* probably unneeded */
1002
- d_inode (child )-> i_private = NULL ;
1003
- }
1004
- spin_unlock (& dir -> d_lock );
1005
-
1006
- tracefs_remove (dir );
1007
- }
1008
995
eventfs_remove (file -> ef );
1009
996
list_del (& file -> list );
1010
997
remove_subsystem (file -> system );
You can’t perform that action at this time.
0 commit comments