From c6a963c48e0a892588060bcc446b579f17fdd19c Mon Sep 17 00:00:00 2001
From: MerryMage <MerryMage@users.noreply.github.com>
Date: Fri, 19 Jun 2020 14:29:59 +0100
Subject: input_common/motion_emu: Remove redundant move

Named return value optimization automatically applies here.
---
 src/input_common/motion_emu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/input_common/motion_emu.cpp')

diff --git a/src/input_common/motion_emu.cpp b/src/input_common/motion_emu.cpp
index 8682516285..d4cdf76a3f 100644
--- a/src/input_common/motion_emu.cpp
+++ b/src/input_common/motion_emu.cpp
@@ -145,7 +145,7 @@ std::unique_ptr<Input::MotionDevice> MotionEmu::Create(const Common::ParamPackag
     // Previously created device is disconnected here. Having two motion devices for 3DS is not
     // expected.
     current_device = device_wrapper->device;
-    return std::move(device_wrapper);
+    return device_wrapper;
 }
 
 void MotionEmu::BeginTilt(int x, int y) {
-- 
cgit v1.2.3-70-g09d2