arch: Remove serde usage

With the only struct using it now using Versionize then the serde
dependency can be removed.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-05-26 15:17:39 +00:00
committed by Sebastien Boeuf
parent 72ec98b8a8
commit cacec04df6
4 changed files with 1 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ pub mod kvm {
vcpu_count: u64,
}
#[derive(Serialize, Deserialize, Versionize)]
#[derive(Versionize)]
pub struct Gicv3State {
dist: Vec<u32>,
rdist: Vec<u32>,

View File

@@ -10,9 +10,6 @@
#[macro_use]
extern crate log;
#[cfg(target_arch = "aarch64")]
#[macro_use]
extern crate serde_derive;
use std::fmt;
use std::result;