mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
selftests/net: unix: fix unused variable compiler warning
[ Upstream commit 59fef379d453781f0dabfa1f1a1e86e78aee919a ]
Remove an unused variable.
diag_uid.c:151:24:
error: unused variable 'udr'
[-Werror,-Wunused-variable]
Fixes: ac011361bd
("af_unix: Add test for sock_diag and UDIAG_SHOW_UID.")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20231124171645.1011043-4-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
aea066ac9e
commit
a989f76f22
1 changed files with 0 additions and 1 deletions
|
@ -148,7 +148,6 @@ void receive_response(struct __test_metadata *_metadata,
|
|||
.msg_iov = &iov,
|
||||
.msg_iovlen = 1
|
||||
};
|
||||
struct unix_diag_req *udr;
|
||||
struct nlmsghdr *nlh;
|
||||
int ret;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue