mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-02 01:45:21 +00:00
virtio-devices, vmm: Remove unused macro rules
Latest cargo beta version raises warnings about unused macro rules. Simply remove them to fix the beta build. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
f0aa70c78b
commit
49db713124
@ -34,7 +34,6 @@ pub enum Thread {
|
|||||||
/// [`SeccompCondition`]: struct.SeccompCondition.html
|
/// [`SeccompCondition`]: struct.SeccompCondition.html
|
||||||
/// [`SeccompRule`]: struct.SeccompRule.html
|
/// [`SeccompRule`]: struct.SeccompRule.html
|
||||||
macro_rules! and {
|
macro_rules! and {
|
||||||
($($x:expr,)*) => (SeccompRule::new(vec![$($x),*]).unwrap());
|
|
||||||
($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap())
|
($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ pub enum Thread {
|
|||||||
/// [`SeccompCondition`]: struct.SeccompCondition.html
|
/// [`SeccompCondition`]: struct.SeccompCondition.html
|
||||||
/// [`SeccompRule`]: struct.SeccompRule.html
|
/// [`SeccompRule`]: struct.SeccompRule.html
|
||||||
macro_rules! and {
|
macro_rules! and {
|
||||||
($($x:expr,)*) => (SeccompRule::new(vec![$($x),*]).unwrap());
|
|
||||||
($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap())
|
($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user