aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2016-01-12 10:49:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-06 22:16:21 -0800
commitbca1481ec4a0014271b7c220f41d7a790654dfbb (patch)
treeb2f8dd7915084024ad2a5fd5ba3ee636d301f28c /scripts/Makefile.thinlto
parentTTY: serial/mpsc, stop leaking mappings (diff)
TTY: serial/mpsc, clean up init/remove functions
There is a chain of up to 4 nested ifs in init and remove functions. Instead, make the code linear and use goto's to handle failures. Remove unneeded cast from mpsc_release_port by referencing pi->port directly. And finally, use dev_dbg instead of pr_debug given we have dev->dev node. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions