commit | f4b208eb91776b0522b41c78fac6cf08134db78f | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Apr 15 07:52:05 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 15 11:02:54 2013 -0700 |
tree | ffd296c2bc5f49b2e9ef478b7d71d63b2a2ee3a4 | |
parent | f678c440022eb6274840cd11edd52a5dcc7bf1b3 [diff] |
TTY: pty, fix compilation warning When CONFIG_UNIX98_PTYS is unset, we see this warning in pty: drivers/tty/pty.c:409:13: warning: ‘pty_unix98_shutdown’ defined but not used Fix that by moving the function to a section which depends on that config. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Reported-by: Toralf Foerster <toralf.foerster@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>