Files
linux/drivers
Qiheng Lin 32abcac803 staging: comedi: tests: ni_routes_test: Remove unused variable 'olddevroutes'
GCC reports the following warning with W=1:

drivers/staging/comedi/drivers/tests/ni_routes_test.c:215:45: warning:
 variable 'olddevroutes' set but not used [-Wunused-but-set-variable]
  215 |  const struct ni_device_routes *devroutes, *olddevroutes;
      |                                             ^~~~~~~~~~~~

This variable is not used in function , this commit
remove it to fix the warning.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Link: https://lore.kernel.org/r/20210410064932.12905-1-linqiheng@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-10 10:29:28 +02:00
..
2021-02-02 14:26:02 +01:00
2021-01-31 08:05:46 -07:00
2021-02-22 14:44:39 -08:00
2021-03-23 10:03:13 +01:00
2021-01-28 01:31:42 +01:00
2021-02-09 12:15:07 +01:00