diff options
author | Johan Hovold <johan@kernel.org> | 2020-07-08 14:50:00 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-07-09 09:20:17 +0200 |
commit | eb0c68ea4246252ba56951c6cf5e5d544a342e9e (patch) | |
tree | d837e62125dbad71e2f393ff95ad8009eeb66d1c /drivers/usb/serial/ssu100.c | |
parent | USB: serial: drop extern keyword from function declarations (diff) | |
download | linux-eb0c68ea4246252ba56951c6cf5e5d544a342e9e.tar.xz linux-eb0c68ea4246252ba56951c6cf5e5d544a342e9e.zip |
USB: serial: drop redundant transfer-buffer casts
Drop redundant URB transfer-buffer casts.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/ssu100.c')
-rw-r--r-- | drivers/usb/serial/ssu100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c index 01472b96bf38..7d39d35e52a1 100644 --- a/drivers/usb/serial/ssu100.c +++ b/drivers/usb/serial/ssu100.c @@ -495,7 +495,7 @@ static void ssu100_update_lsr(struct usb_serial_port *port, u8 lsr, static void ssu100_process_read_urb(struct urb *urb) { struct usb_serial_port *port = urb->context; - char *packet = (char *)urb->transfer_buffer; + char *packet = urb->transfer_buffer; char flag = TTY_NORMAL; u32 len = urb->actual_length; int i; |