diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2011-11-10 00:33:22 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-16 03:52:46 +0400 |
| commit | 2cd0050cf3ec4da847c3a2f7d95cffd548aef39d (patch) | |
| tree | 3a9fb2454f7365a3c11c69ddd7f2231e14271596 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ba5db44895ec3abc5317a9af86001e688a72185c (diff) | |
| download | linux-2cd0050cf3ec4da847c3a2f7d95cffd548aef39d.tar.xz | |
TTY: move tty_lookup_driver to switch-cases
The labels express more the nature of the decision tree. We returned
from each if with a driver. Now we do this at the end of the function
and the code flow is clear.
While at it, remove an obsolete comment (we already take the
reference).
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
