]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/memfd: remove unused variable
authorGreg Thelen <gthelen@google.com>
Wed, 8 Sep 2021 03:00:50 +0000 (20:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 18:50:28 +0000 (11:50 -0700)
commit3f70a82d03794227daedc58ad25baa7697606b4b
tree9c314dab1c3b04d67c0990f4423e053ffe2b1565
parentff7e2ca299c0ff7ce77628a1d556c6240e39300f
selftests/memfd: remove unused variable

Commit 06c66c73e9da ("selftests/memfd: add tests for F_SEAL_FUTURE_WRITE
seal") added an unused variable to mfd_assert_reopen_fd().

Delete the unused variable.

Link: https://lkml.kernel.org/r/20210702045509.1517643-1-gthelen@google.com
Fixes: 06c66c73e9da ("selftests/memfd: add tests for F_SEAL_FUTURE_WRITE seal")
Signed-off-by: Greg Thelen <gthelen@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/memfd/memfd_test.c