VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Qiheng Lin <linqiheng@huawei.com> 2021-04-10 14:49:32 +0800 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-04-10 10:29:28 +0200 commit: 32abcac8037da5dc570c22abf266cbb92eee9fc9 parent: 3eea531bcc24aee8f93b206adfde605fdd6f3d44
Commit Summary:
staging: comedi: tests: ni_routes_test: Remove unused variable 'olddevroutes'
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/drivers/staging/comedi/drivers/tests/ni_routes_test.c b/drivers/staging/comedi/drivers/tests/ni_routes_test.c
index 40fe4f180eb9..32073850d545 100644
--- a/drivers/staging/comedi/drivers/tests/ni_routes_test.c
+++ b/drivers/staging/comedi/drivers/tests/ni_routes_test.c
@@ -213,7 +213,7 @@ static bool route_set_sources_in_order(const struct ni_device_routes *devroutes)
 
 static void test_ni_assign_device_routes(void)
 {
-	const struct ni_device_routes *devroutes, *olddevroutes;
+	const struct ni_device_routes *devroutes;
 	const u8 *table, *oldtable;
 
 	init_pci_6070e();
@@ -249,7 +249,6 @@ static void test_ni_assign_device_routes(void)
 		 RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(2))) == V(NI_PFI_OUTPUT_AI_CONVERT),
 		 "pci-6070e finds e-series route_values table\n");
 
-	olddevroutes = devroutes;
 	oldtable = table;
 	init_pci_6220();
 	ni_assign_device_routes(ni_mseries, pci_6220, NULL,