From: Rasmus Villemoes Date: Tue, 31 Mar 2015 13:55:59 +0000 (+0200) Subject: tty: remove buf parameter from tty_name() X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=429b474990cb4e5e8cfe2352daf649d0599cccb6;p=pandora-kernel.git tty: remove buf parameter from tty_name() tty_name no longer uses the buf parameter, so remove it along with all the 64 byte stack buffers that used to be passed in. Mostly generated by the coccinelle script @depends on patch@ identifier buf; constant C; expression tty; @@ - char buf[C]; <+... - tty_name(tty, buf) + tty_name(tty) ...+> allmodconfig compiles, so I'm fairly confident the stack buffers weren't used for other purposes as well. Signed-off-by: Rasmus Villemoes Reviewed-by: Peter Hurley Acked-by: Jesper Nilsson Acked-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed