Skip to contentSkip to conversation

usb: serial: remove unused function for F81232

PATCH Superseded Peter Hung 2 participants 2 messages Jan 21, 2015

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Peter Hung

author
#0 lore raw

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

remove unused function set_line_control

---
 drivers/usb/serial/f81232.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/usb/serial/f81232.c +0 -7
index 9a54f56..11a236b 100644
@@ -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)
Signature · 1 line
1.9.1
#1 lore raw

Hello.

Quoted 1 line · Peter Hung

remove unused function set_line_control

The source says set_control_lines().

Quoted 13 lines
---
  drivers/usb/serial/f81232.c | 7 -------
  1 file changed, 7 deletions(-)
drivers/usb/serial/f81232.c +0 -0
index 9a54f56..11a236b 100644
@@ -323,13 +323,6 @@ static void f81232_process_read_urb(struct urb *urb)
  		tty_flip_buffer_push(&port->port);
  	}
 

drivers/usb/serial/f81232.c static void f81232_process_read_urb(struct urb *urb) · line 328

Quoted 10 lines
drivers/usb/serial/f81232.c +0 -7
-
-}
-
-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