Instructions split on multiple lines can be combined on a single line
for improved readability of the code.

Signed-off-by: Deepak R Varma <mh12gx2...@gmail.com>
---
 .../staging/comedi/drivers/tests/ni_routes_test.c    | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/comedi/drivers/tests/ni_routes_test.c 
b/drivers/staging/comedi/drivers/tests/ni_routes_test.c
index 7db83cf5e4aa..a3b1be623861 100644
--- a/drivers/staging/comedi/drivers/tests/ni_routes_test.c
+++ b/drivers/staging/comedi/drivers/tests/ni_routes_test.c
@@ -499,14 +499,10 @@ void test_route_register_is_valid(void)
        const struct ni_route_tables *T = &private.routing_tables;
 
        init_pci_fake();
-       unittest(!route_register_is_valid(4, O(4), T),
-                "check for bad source 4-->4\n");
-       unittest(!route_register_is_valid(0, O(1), T),
-                "find first source\n");
-       unittest(!route_register_is_valid(4, O(6), T),
-                "find middle source\n");
-       unittest(!route_register_is_valid(9, O(8), T),
-                "find last source");
+       unittest(!route_register_is_valid(4, O(4), T), "check for bad source 
4-->4\n");
+       unittest(!route_register_is_valid(0, O(1), T), "find first source\n");
+       unittest(!route_register_is_valid(4, O(6), T), "find middle source\n");
+       unittest(!route_register_is_valid(9, O(8), T), "find last source");
 }
 
 void test_ni_check_trigger_arg(void)
-- 
2.25.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to