Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6656: main_usb.c remove return from void functions

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
1beace3c feab4810

-13
-13
drivers/staging/vt6656/main_usb.c
··· 381 381 382 382 kfree(tx_context); 383 383 } 384 - 385 - return; 386 384 } 387 385 388 386 static void vnt_free_rx_bufs(struct vnt_private *priv) ··· 405 407 406 408 kfree(rcb); 407 409 } 408 - 409 - return; 410 410 } 411 411 412 412 static void usb_device_reset(struct vnt_private *priv) ··· 415 419 if (status) 416 420 dev_warn(&priv->usb->dev, 417 421 "usb_device_reset fail status=%d\n", status); 418 - return ; 419 422 } 420 423 421 424 static void vnt_free_int_bufs(struct vnt_private *priv) 422 425 { 423 426 kfree(priv->int_buf.data_buf); 424 - 425 - return; 426 427 } 427 428 428 429 static bool vnt_alloc_bufs(struct vnt_private *priv) ··· 589 596 590 597 usb_kill_urb(priv->interrupt_urb); 591 598 usb_free_urb(priv->interrupt_urb); 592 - 593 - return; 594 599 } 595 600 596 601 static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) ··· 654 663 655 664 /* LED slow blink */ 656 665 vnt_mac_set_led(priv, LEDSTS_STS, LEDSTS_SLOW); 657 - 658 - return; 659 666 } 660 667 661 668 static int vnt_config(struct ieee80211_hw *hw, u32 changed) ··· 833 844 vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_RCR, rx_mode); 834 845 835 846 dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); 836 - 837 - return; 838 847 } 839 848 840 849 static int vnt_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,