staging: vt6656: remove return from all void functions
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 25 Jul 2014 19:51:54 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 16:03:44 +0000 (09:03 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/usbpipe.c
drivers/staging/vt6656/wcmd.c

index c06dd9d598172ee23960a28f4ce943882cfac962..8c0b8fa3e77e16b72d1bf02885c5e30b919be308 100644 (file)
@@ -669,8 +669,6 @@ void vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval)
 
        vnt_control_out(priv, MESSAGE_TYPE_SET_TSFTBTT,
                MESSAGE_REQUEST_TBTT, 0, 8, data);
-
-       return;
 }
 
 /*
@@ -708,8 +706,6 @@ void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf,
                        MESSAGE_REQUEST_TBTT, 0, 8, data);
 
        dev_dbg(&priv->usb->dev, "%s TBTT: %8llx\n", __func__, tsf);
-
-       return;
 }
 
 /*
index 641d77baa2abcab362bbbaa1e2ab484727d94beb..bb37e33b9ffa00001fc64597649adee59848420f 100644 (file)
@@ -243,6 +243,4 @@ void vnt_mac_set_led(struct vnt_private *priv, u8 state, u8 led)
 
        vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_PAPEDELAY,
                        MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
-
-       return;
 }
index f1969fea7f5c03391bc36d03f29a4b0ca2bb31c5..df31ae6f76ef178c4246a178bc4af07abb0917ac 100644 (file)
@@ -137,8 +137,6 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb)
        } else {
                priv->int_buf.in_use = true;
        }
-
-       return;
 }
 
 int vnt_start_interrupt_urb(struct vnt_private *priv)
@@ -216,8 +214,6 @@ static void vnt_submit_rx_urb_complete(struct urb *urb)
 
                rcb->in_use = false;
        }
-
-       return;
 }
 
 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb)
@@ -279,8 +275,6 @@ static void vnt_tx_context_complete(struct urb *urb)
 
                context->in_use = false;
        }
-
-       return;
 }
 
 int vnt_tx_context(struct vnt_private *priv,
index 8f6417bcaed242790b962bf471a78468a0b3dd88..3cbf4791bac17ce661e823d6f682e03bbbd62374 100644 (file)
@@ -164,8 +164,6 @@ void vnt_run_command(struct work_struct *work)
        }
 
        vnt_cmd_complete(priv);
-
-       return;
 }
 
 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command)