Skip to content

Commit d4b9edc

Browse files
committed
common/rc: drop unnecessary variable from _check_kernel_option()
The commit 0ca7b32 ("common/rc: Introduce _get_kernel_option()") introduced the unnecessary local variable "value". Drop it. Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
1 parent 6f3faaa commit d4b9edc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

common/rc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ _get_kernel_option() {
215215

216216
# Check if kernel option $1 is defined.
217217
_check_kernel_option() {
218-
local value
219-
220218
case "$(_get_kernel_option "$1")" in
221219
y|m)
222220
return 0;;

0 commit comments

Comments
 (0)