Skip to content

Commit

Permalink
remove unused method blsection_types
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 9, 2014
1 parent a1d19c5 commit b44f45b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion src/include/bootloader/routines/misc.rb
Expand Up @@ -994,7 +994,6 @@ def GetSerialFromAppend ()

# FATE #110038: Serial console
# Add console arg for kernel if there is defined serial console
# - add key console with value to section type image and xen

def HandleConsole2

Expand Down
17 changes: 0 additions & 17 deletions src/include/bootloader/routines/switcher.rb
Expand Up @@ -137,23 +137,6 @@ def blPropose
nil
end

# Get sections types
# @return [Array<String>] section types
def blsection_types
functions = getFunctions(BootCommon.getLoaderType(false))
fallback = lambda { ["image"] }
toEval = Convert.convert(
Ops.get(
functions,
"section_types",
fun_ref(fallback, "list <string> ()")
),
:from => "any",
:to => "list <string> ()"
)
toEval.call
end

# Save bootloader cfg. files to the cache of the pluglib
# @param [Boolean] clean boolean true to perform checks on the settings
# @param [Boolean] init boolean true to reinitialize the library
Expand Down
1 change: 0 additions & 1 deletion src/modules/Bootloader.rb
Expand Up @@ -1016,7 +1016,6 @@ def CopyKernelInird
publish :function => :blRead, :type => "boolean (boolean, boolean)"
publish :function => :blReset, :type => "void (boolean)"
publish :function => :blPropose, :type => "void ()"
publish :function => :blsection_types, :type => "list <string> ()"
publish :function => :blSave, :type => "boolean (boolean, boolean, boolean)"
publish :function => :blSummary, :type => "list <string> ()"
publish :function => :blUpdate, :type => "void ()"
Expand Down

0 comments on commit b44f45b

Please sign in to comment.