summaryrefslogtreecommitdiff
path: root/drivers/staging/fwserial
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-11-01 09:04:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-16 07:02:47 +0300
commit8d831d451fd0654c8d20a91c4edec1ee57a93945 (patch)
treee2dcf4ed73bfba6a682b42ed63a8949c3bfffb55 /drivers/staging/fwserial
parent10172144cc812f0f126587a919c328873e1594f2 (diff)
downloadlinux-8d831d451fd0654c8d20a91c4edec1ee57a93945.tar.xz
Staging: fwserial: Remove unused fwtty_bind_console from header
fwtty_bind_console is defined in header file but not used. Thus remove the definition. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial')
-rw-r--r--drivers/staging/fwserial/fwserial.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/fwserial/fwserial.h b/drivers/staging/fwserial/fwserial.h
index 787aa4f3a41b..8d791ae79cd6 100644
--- a/drivers/staging/fwserial/fwserial.h
+++ b/drivers/staging/fwserial/fwserial.h
@@ -344,14 +344,6 @@ extern struct tty_driver *fwtty_driver;
struct fwtty_port *fwtty_port_get(unsigned index);
void fwtty_port_put(struct fwtty_port *port);
-static inline void fwtty_bind_console(struct fwtty_port *port,
- struct fwconsole_ops *fwcon_ops,
- void *data)
-{
- port->con_data = data;
- port->fwcon_ops = fwcon_ops;
-}
-
/*
* Returns the max send async payload size in bytes based on the unit device
* link speed. Self-limiting asynchronous bandwidth (via reducing the payload)