File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ use crate::MessageKind;
29
29
use crate :: MgsError ;
30
30
use crate :: MgsRequest ;
31
31
use crate :: MgsResponse ;
32
- use crate :: MonorailError ;
33
32
use crate :: PowerState ;
34
33
use crate :: PowerStateTransition ;
35
34
use crate :: RotBootInfo ;
@@ -47,8 +46,6 @@ use crate::SpUpdatePrepare;
47
46
use crate :: StartupOptions ;
48
47
use crate :: SwitchDuration ;
49
48
use crate :: TlvPage ;
50
- use crate :: UnlockChallenge ;
51
- use crate :: UnlockResponse ;
52
49
use crate :: UpdateChunk ;
53
50
use crate :: UpdateId ;
54
51
use crate :: UpdateStatus ;
@@ -420,15 +417,6 @@ pub trait SpHandler {
420
417
fn start_host_flash_hash ( & mut self , slot : u16 ) -> Result < ( ) , SpError > ;
421
418
422
419
fn get_host_flash_hash ( & mut self , slot : u16 ) -> Result < [ u8 ; 32 ] , SpError > ;
423
-
424
- /// Unlocks the tech port if the challenge and response are compatible
425
- fn unlock (
426
- & mut self ,
427
- vid : Self :: VLanId ,
428
- challenge : UnlockChallenge ,
429
- response : UnlockResponse ,
430
- time_sec : u32 ,
431
- ) -> Result < ( ) , MonorailError > ;
432
420
}
433
421
434
422
/// Handle a single incoming message.
You can’t perform that action at this time.
0 commit comments