mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-03 12:11:27 +00:00
storage: dead code clean-up
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
@@ -428,18 +428,6 @@ func (bd *BlockDevice) IsAvailable() bool {
|
||||
return bd.available
|
||||
}
|
||||
|
||||
// ConfigStatus is the status type for Configuration Status of the installation media
|
||||
type ConfigStatus int
|
||||
|
||||
const (
|
||||
// ConfiguredNone indicates no installation media has been configured
|
||||
ConfiguredNone ConfigStatus = iota
|
||||
// ConfiguredPartial indicates only some of the required partition are configured
|
||||
ConfiguredPartial
|
||||
// ConfiguredEntire indicates ALL of the required partition are configured
|
||||
ConfiguredEntire
|
||||
)
|
||||
|
||||
// FsTypeNotSwap returns true if the file system type is not swap
|
||||
func (bd *BlockDevice) FsTypeNotSwap() bool {
|
||||
return bd.FsType != "swap"
|
||||
|
||||
Reference in New Issue
Block a user