From af787af9bc0a9b90df1d7472f4095e1a5f962915 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 17 Jun 2020 13:29:14 -0700 Subject: [PATCH] io_uring: drop unnecessary 'static in const clippy warns about the redundant 'static lifetime, which is implied for const. BUG=None TEST=bin/clippy Change-Id: I1d4dca90de359857ec947e12ae47858785d8867c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2253065 Reviewed-by: Dylan Reid Tested-by: Daniel Verkamp Commit-Queue: Daniel Verkamp --- io_uring/src/bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_uring/src/bindings.rs b/io_uring/src/bindings.rs index 382a738b69..b254c9fc40 100644 --- a/io_uring/src/bindings.rs +++ b/io_uring/src/bindings.rs @@ -190,7 +190,7 @@ pub const FS_ENCRYPTION_MODE_AES_128_CTS: ::std::os::raw::c_uint = 6; pub const FS_ENCRYPTION_MODE_SPECK128_256_XTS: ::std::os::raw::c_uint = 7; pub const FS_ENCRYPTION_MODE_SPECK128_256_CTS: ::std::os::raw::c_uint = 8; pub const FS_ENCRYPTION_MODE_ADIANTUM: ::std::os::raw::c_uint = 9; -pub const FS_KEY_DESC_PREFIX: &'static [u8; 9usize] = b"fscrypt:\0"; +pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0"; pub const FS_KEY_DESC_PREFIX_SIZE: ::std::os::raw::c_uint = 8; pub const FS_MAX_KEY_SIZE: ::std::os::raw::c_uint = 64; pub const FS_SECRM_FL: ::std::os::raw::c_uint = 1;