]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: remove unused 9847/head
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 12 Jun 2023 20:17:26 +0000 (22:17 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Nov 2023 11:44:07 +0000 (12:44 +0100)
Ticket: #4083

rust/src/smb/smb2_records.rs

index 4a7721cdaa0ad64b102d0d56b75edfe8634ec750..7de9e6607dda3cf77dc22d8998f5fe31f98a1d0d 100644 (file)
@@ -32,11 +32,6 @@ pub struct Smb2SecBlobRecord<'a> {
     pub data: &'a [u8],
 }
 
-pub fn parse_smb2_sec_blob(i: &[u8]) -> IResult<&[u8], Smb2SecBlobRecord> {
-    let (i, data) = rest(i)?;
-    Ok((i, Smb2SecBlobRecord { data }))
-}
-
 #[derive(Debug, PartialEq, Eq)]
 pub struct Smb2RecordDir {
     pub request: bool,