From deb3bbfc3e438bce26d8da814e2ea4bf1e92d415 Mon Sep 17 00:00:00 2001 From: Mark D Horn Date: Tue, 24 Mar 2020 18:04:34 -0700 Subject: [PATCH] storage: dead code clean-up Signed-off-by: Mark D Horn --- storage/storage.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/storage/storage.go b/storage/storage.go index b420645..41886e1 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -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"