diff options
author | zhujun2 <zhujun2@cmss.chinamobile.com> | 2023-10-15 23:30:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-16 09:20:08 +0100 |
commit | 3c4fe89878feb57bea6ad9f14997298fddf8dc10 (patch) | |
tree | ea4347249fc940d944f0e0484d52258cde2c99c1 /tools/testing/selftests/net/af_unix/test_unix_oob.c | |
parent | 101c6032031f4dba72b91e6c766e958a5e429622 (diff) |
selftests: net: remove unused variables
These variables are never referenced in the code, just remove them
Signed-off-by: zhujun2 <zhujun2@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/test_unix_oob.c')
-rw-r--r-- | tools/testing/selftests/net/af_unix/test_unix_oob.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/af_unix/test_unix_oob.c b/tools/testing/selftests/net/af_unix/test_unix_oob.c index 532459a15067..a7c51889acd5 100644 --- a/tools/testing/selftests/net/af_unix/test_unix_oob.c +++ b/tools/testing/selftests/net/af_unix/test_unix_oob.c @@ -180,9 +180,7 @@ main(int argc, char **argv) char buf[1024]; int on = 0; char oob; - int flags; int atmark; - char *tmp_file; lfd = socket(AF_UNIX, SOCK_STREAM, 0); memset(&consumer_addr, 0, sizeof(consumer_addr)); |