[PATCH v2 4/4] usb: serial: remove unused function for F81232

2015-01-21 Thread Peter Hung
remove unused function set_line_control

Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
 drivers/usb/serial/f81232.c | 7 ---
 1 file changed, 7 deletions(-)

diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 9a54f56..11a236b 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -323,13 +323,6 @@ static void f81232_process_read_urb(struct urb *urb)
tty_flip_buffer_push(port-port);
}
 
-
-}
-
-static int set_control_lines(struct usb_device *dev, u8 value)
-{
-   /* FIXME - Stubbed out for now */
-   return 0;
 }
 
 static void f81232_break_ctl(struct tty_struct *tty, int break_state)
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 4/4] usb: serial: remove unused function for F81232

2015-01-21 Thread Sergei Shtylyov

Hello.

On 1/21/2015 1:30 PM, Peter Hung wrote:


remove unused function set_line_control


   The source says set_control_lines().


Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
  drivers/usb/serial/f81232.c | 7 ---
  1 file changed, 7 deletions(-)



diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 9a54f56..11a236b 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -323,13 +323,6 @@ static void f81232_process_read_urb(struct urb *urb)
tty_flip_buffer_push(port-port);
}

-
-}
-
-static int set_control_lines(struct usb_device *dev, u8 value)
-{
-   /* FIXME - Stubbed out for now */
-   return 0;
  }

  static void f81232_break_ctl(struct tty_struct *tty, int break_state)


WBR, Sergei

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html