staging: ft1000-usb: remove unnecessary return statement
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Wed, 24 Sep 2014 20:54:14 +0000 (13:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:05:03 +0000 (23:05 -0400)
This fixes the following checkpatch.pl warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_usb.c

index cc740c96845d029c2fad34d8f52e145a368e0408..2d6d79c10d6ce27f52202dcd7a4e4332d921d955 100644 (file)
@@ -246,8 +246,6 @@ static void ft1000_disconnect(struct usb_interface *interface)
                kfree(ft1000dev);
        }
        kfree(pFileStart);
-
-       return;
 }
 
 static struct usb_driver ft1000_usb_driver = {