]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/memfd: remove unused variable
authorGreg Thelen <gthelen@google.com>
Tue, 24 Aug 2021 00:00:04 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:58 +0000 (09:34 +1000)
commiteedfcedc7315a8b69769eda5e6ae61ff7963025f
treecd8c2dfaf6661e7d1bc3371e8452491c06621fdb
parent74a9015e74a0304f0df69d21c1fc34de8509f591
selftests/memfd: remove unused variable

Commit 544029862cbb ("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: 544029862cbb ("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: Stephen Rothwell <sfr@canb.auug.org.au>
tools/testing/selftests/memfd/memfd_test.c