aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMina Almasry <[email protected]>2025-05-23 23:05:24 +0000
committerJakub Kicinski <[email protected]>2025-05-28 02:19:36 +0000
commitaffffcbb87266b76b6f83edb39ae404604ffc6b5 (patch)
tree26d93c6fede77fa0e07ad4d5b3040e477ff8fb18
parentnet: devmem: ksft: upgrade rx test to send 1K data (diff)
downloadkernel-affffcbb87266b76b6f83edb39ae404604ffc6b5.tar.gz
kernel-affffcbb87266b76b6f83edb39ae404604ffc6b5.zip
net: devmem: ncdevmem: remove unused variable
This variable is unused and can be removed. Signed-off-by: Mina Almasry <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--tools/testing/selftests/drivers/net/hw/ncdevmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/hw/ncdevmem.c b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
index a226f2c7af83..02e4d3d7ded2 100644
--- a/tools/testing/selftests/drivers/net/hw/ncdevmem.c
+++ b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
@@ -540,7 +540,6 @@ static struct netdev_queue_id *create_queues(void)
static int do_server(struct memory_buffer *mem)
{
char ctrl_data[sizeof(int) * 20000];
- struct netdev_queue_id *queues;
size_t non_page_aligned_frags = 0;
struct sockaddr_in6 client_addr;
struct sockaddr_in6 server_sin;