staging: greybus: loopback_test: Remove void function return statement
authorJack Schofield <schofija@oregonstate.edu>
Thu, 1 Dec 2022 05:38:51 +0000 (21:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:28:41 +0000 (13:28 +0100)
Void function return statement is not useful in this case. Issue
reported by checkpatch.

Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jack Schofield <schofija@oregonstate.edu>
Link: https://lore.kernel.org/r/5d465d56a6e3de2cb9d2f34377cbb82678cc67b1.1669872193.git.schofija@oregonstate.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/tools/loopback_test.c

index 242138c4f6cf73ccb4001bb790c2a52b79450337..7c1697304ab4aac02e7e74e72efe85d297eaf103 100644 (file)
@@ -862,7 +862,6 @@ void loopback_run(struct loopback_test *t)
 
 err:
        printf("Error running test\n");
-       return;
 }
 
 static int sanity_check(struct loopback_test *t)