From bc7b9ec150ce0f74140c5f4fe222b6971b22f5cf Mon Sep 17 00:00:00 2001 From: Jim Cromie Date: Thu, 5 Sep 2019 02:11:01 -0600 Subject: [PATCH 2/2] dynamic_debug: drop overwrought comment 4bad78c55002 lib/dynamic_debug.c: use seq_open_private() instead of seq_open() cleaned up ddebug_proc_open, obsoleting the comment about that code. --- lib/dynamic_debug.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index ba35199edd9c..8fb140a55ad3 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -840,13 +840,6 @@ static const struct seq_operations ddebug_proc_seqops = { .stop = ddebug_proc_stop }; -/* - * File_ops->open method for /dynamic_debug/control. Does - * the seq_file setup dance, and also creates an iterator to walk the - * _ddebugs. Note that we create a seq_file always, even for O_WRONLY - * files where it's not needed, as doing so simplifies the ->release - * method. - */ static int ddebug_proc_open(struct inode *inode, struct file *file) { vpr_info("called\n"); -- 2.21.0