From dc28023be16a8cc0145734fa8f99c6cb4bd09068 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Sat, 13 Apr 2019 21:58:34 -0600
Subject: [PATCH] Remove unnecessary clone

---
 src/syscall/process.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/syscall/process.rs b/src/syscall/process.rs
index a88fdabb..8fb55748 100644
--- a/src/syscall/process.rs
+++ b/src/syscall/process.rs
@@ -567,7 +567,7 @@ fn fexec_noreturn(
             let context_lock = contexts.current().ok_or(Error::new(ESRCH)).expect("exec_noreturn pid not found");
             let mut context = context_lock.write();
 
-            context.name = Arc::new(Mutex::new(name.clone()));
+            context.name = Arc::new(Mutex::new(name));
 
             empty(&mut context, false);
 
-- 
GitLab