Skip to content

Commit e8121bf

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(fips): add and remove local variables
1 parent 7f10c48 commit e8121bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules.d/01fips/fips.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ nonfatal_modprobe() {
7979
fips_load_crypto() {
8080
local _k
8181
local _v
82+
local _module
8283
local _found
8384

8485
FIPSMODULES=$(cat /etc/fipsmodules)
@@ -108,9 +109,6 @@ fips_load_crypto() {
108109
}
109110

110111
do_fips() {
111-
local _v
112-
local _module
113-
114112
KERNEL=$(uname -r)
115113

116114
if ! getarg rd.fips.skipkernel > /dev/null; then

0 commit comments

Comments
 (0)