From: Catalina Mocanu Date: Wed, 24 Sep 2014 20:54:14 +0000 (-0700) Subject: staging: ft1000-usb: remove unnecessary return statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ed9034f58e75b0f580eb8479ed1a01891191e04b;p=linux-beck.git staging: ft1000-usb: remove unnecessary return statement This fixes the following checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: Catalina Mocanu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c index cc740c96845d..2d6d79c10d6c 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c @@ -246,8 +246,6 @@ static void ft1000_disconnect(struct usb_interface *interface) kfree(ft1000dev); } kfree(pFileStart); - - return; } static struct usb_driver ft1000_usb_driver = {