From ed9034f58e75b0f580eb8479ed1a01891191e04b Mon Sep 17 00:00:00 2001 From: Catalina Mocanu Date: Wed, 24 Sep 2014 13:54:14 -0700 Subject: [PATCH] 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 --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.c | 2 -- 1 file changed, 2 deletions(-) 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 = { -- 2.30.2