diff options
author | Miroslav Benes <mbenes@suse.cz> | 2020-01-13 15:49:07 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-01-16 23:05:49 +0300 |
commit | e1dae517a0f5a182625204ff4eb0b6aefc5bc74d (patch) | |
tree | 66aeea6dcc7d228338862cede96a258255d0725e /tools/testing/selftests/livepatch | |
parent | b54c82e9196ff4d8fb3ec5342e419cab6b710352 (diff) | |
download | linux-e1dae517a0f5a182625204ff4eb0b6aefc5bc74d.tar.xz |
selftests/livepatch: Remove unused local variable in set_ftrace_enabled()
set_ftrace_enabled() contains unused local variable "sysctl". Remove it.
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/livepatch')
-rw-r--r-- | tools/testing/selftests/livepatch/functions.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/livepatch/functions.sh b/tools/testing/selftests/livepatch/functions.sh index a6e3d5517a6f..2aab9791791d 100644 --- a/tools/testing/selftests/livepatch/functions.sh +++ b/tools/testing/selftests/livepatch/functions.sh @@ -64,7 +64,6 @@ function set_dynamic_debug() { } function set_ftrace_enabled() { - local sysctl="$1" result=$(sysctl kernel.ftrace_enabled="$1" 2>&1 | paste --serial --delimiters=' ') echo "livepatch: $result" > /dev/kmsg } |