Skip to contentSkip to conversation

staging: media: lirc: lirc_imon: Remove a blank line before a close parenthesis '}'

PATCH In review Anchal Jain 1 participant 1 message Sep 13, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 4/6 staging: media: lirc: lirc_imon: Remove a blank line before a close parenthesis '}'

CHECK: Remove unnecessary space after cast

---
changes in v2:
-modify subject

 drivers/staging/media/lirc/lirc_imon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/lirc/lirc_imon.c +2 -2
index c12053d..e44f841 100644
@@ -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,
Signature · 1 line
1.9.1