aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/ncdevmem.c
diff options
context:
space:
mode:
authorMina Almasry <[email protected]>2025-06-15 20:35:10 +0000
committerJakub Kicinski <[email protected]>2025-06-18 01:00:26 +0000
commit46cbaef5d8162de8b0b8faf562b69313de6638ef (patch)
tree13ab65aa8ae886e94f275f489c288f240b06e3e0 /tools/testing/selftests/drivers/net/hw/ncdevmem.c
parentnetmem: fix netmem comments (diff)
downloadkernel-46cbaef5d8162de8b0b8faf562b69313de6638ef.tar.gz
kernel-46cbaef5d8162de8b0b8faf562b69313de6638ef.zip
selftests: devmem: remove unused variable
Trivial fix to unused variable. 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]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/ncdevmem.c')
-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 02e4d3d7ded2..cc9b40d9c5d5 100644
--- a/tools/testing/selftests/drivers/net/hw/ncdevmem.c
+++ b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
@@ -852,7 +852,6 @@ static int do_client(struct memory_buffer *mem)
ssize_t line_size = 0;
struct cmsghdr *cmsg;
char *line = NULL;
- unsigned long mid;
size_t len = 0;
int socket_fd;
__u32 ddmabuf;