Staging: fwserial: Remove unused fwtty_bind_console from header
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 1 Nov 2015 06:04:40 +0000 (11:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
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>
drivers/staging/fwserial/fwserial.h

index 787aa4f3a41b27a049c7146d3c5a59056c46d266..8d791ae79cd61dbed040a0ae4382b83e205f584f 100644 (file)
@@ -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)
This page took 0.024915 seconds and 5 git commands to generate.