storage: dead code clean-up

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
Mark D Horn
2020-03-27 15:07:10 -07:00
committed by Mark Horn
parent 79680a63fa
commit deb3bbfc3e
-12
View File
@@ -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"