staging: media: lirc: lirc_imon: Remove a blank line before a close parenthesis '}'
authorAnchal Jain <anchalj109@gmail.com>
Tue, 13 Sep 2016 11:15:24 +0000 (16:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 07:51:23 +0000 (09:51 +0200)
CHECK: Remove unnecessary space after cast

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_imon.c

index c12053d19ce974a9c14e9fac807a99c904890c11..e44f8411ea36446aed3bd560cfb653086f6e308d 100644 (file)
@@ -427,7 +427,7 @@ static ssize_t vfd_write(struct file *file, const char __user *buf,
 
        do {
                memcpy(context->usb_tx_buf, context->tx.data_buf + offset, 7);
-               context->usb_tx_buf[7] = (unsigned char) seq;
+               context->usb_tx_buf[7] = (unsigned char)seq;
 
                retval = send_packet(context);
                if (retval) {
@@ -445,7 +445,7 @@ static ssize_t vfd_write(struct file *file, const char __user *buf,
        if (context->vfd_proto_6p) {
                /* Send packet #6 */
                memcpy(context->usb_tx_buf, &vfd_packet6, sizeof(vfd_packet6));
-               context->usb_tx_buf[7] = (unsigned char) seq;
+               context->usb_tx_buf[7] = (unsigned char)seq;
                retval = send_packet(context);
                if (retval)
                        dev_err(&context->usbdev->dev,