aboutsummaryrefslogtreecommitdiff
path: root/src/register
diff options
context:
space:
mode:
Diffstat (limited to 'src/register')
-rw-r--r--src/register/control.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/register/control.rs b/src/register/control.rs
index 52c412e..959bf91 100644
--- a/src/register/control.rs
+++ b/src/register/control.rs
@@ -176,7 +176,7 @@ pub unsafe fn write(_control: Control) {
#[cfg(feature = "inline-asm")]
() => {
let control = _control.bits();
- unsafe { asm!("msr CONTROL, $0" :: "r"(control) : "memory" : "volatile") }
+ asm!("msr CONTROL, $0" :: "r"(control) : "memory" : "volatile");
}
#[cfg(not(feature = "inline-asm"))]