aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-02-03 15:31:26 +0200
committerPetr Mladek <pmladek@suse.com>2020-02-11 10:43:56 +0100
commit12825e6ba8ea8efbb6d81363b0cf6b5bf84c051a (patch)
treecda9bebe9efa76ef070cef57d8553d276044ffa9 /tools/perf/scripts/python/bin
parentconsole: Drop double check for console_drivers being non-NULL (diff)
downloadlinux-12825e6ba8ea8efbb6d81363b0cf6b5bf84c051a.tar.gz
linux-12825e6ba8ea8efbb6d81363b0cf6b5bf84c051a.zip
console: Use for_each_console() helper in unregister_console()
We have rather open coded single linked list manipulations where we may simple use for_each_console() helper with properly set exit conditions. Replace open coded single-linked list handling with for_each_console() helper in use. Link: http://lkml.kernel.org/r/20200203133130.11591-3-andriy.shevchenko@linux.intel.com To: linux-kernel@vger.kernel.org To: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions