staging: unisys: virthba: remove unnecessary return statement
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Sat, 20 Sep 2014 18:00:40 +0000 (11:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:33:34 +0000 (13:33 -0700)
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/unisys/virthba/virthba.c

index 53615dfedef2f7ebce39b86d7df9e2d9a13cf436..ce672c509c0a07d91e817cfeb5c9197c3706dce4 100644 (file)
@@ -1105,7 +1105,6 @@ virthba_slave_destroy(struct scsi_device *scsidev)
                        return;
                }
        }
-       return;
 }
 
 /*****************************************************/