From patchwork Thu Oct 8 16:52:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 527825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:4830:134:3::10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A7F0C140D9C for ; Fri, 9 Oct 2015 04:15:23 +1100 (AEDT) Received: from lists.gnu.org ([208.118.235.17]:46998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEmn-0006FP-Ee for incoming@patchwork.ozlabs.org; Thu, 08 Oct 2015 13:15:21 -0400 Received: from localhost ([::1]:36165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEmn-0007xL-Aw for incoming@patchwork.ozlabs.org; Thu, 08 Oct 2015 13:15:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEjU-0002ta-JY for qemu-devel@nongnu.org; Thu, 08 Oct 2015 13:12:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkEjR-0003zT-F0 for qemu-devel@nongnu.org; Thu, 08 Oct 2015 13:11:56 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:59074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEjR-0003yf-65; Thu, 08 Oct 2015 13:11:53 -0400 Received: from tsrv.tls.msk.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 86FA140A63; Thu, 8 Oct 2015 20:11:49 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.tls.msk.ru (Postfix) with SMTP id E9429A8B; Thu, 8 Oct 2015 19:52:31 +0300 (MSK) Received: (nullmailer pid 11994 invoked by uid 1000); Thu, 08 Oct 2015 16:52:30 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Thu, 8 Oct 2015 19:52:18 +0300 Message-Id: <738c8b01ba4d020ee42c72e83a6aa3d9408a2530.1444323071.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev , Shraddha Barke Subject: [Qemu-devel] [PULL 09/19] target-microblaze: Remove unnecessary variable X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x From: Shraddha Barke Compress lines and remove the variable. Signed-off-by: Shraddha Barke Signed-off-by: Michael Tokarev --- target-microblaze/op_helper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 092c4b5..d324347 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -150,9 +150,7 @@ uint32_t helper_clz(uint32_t t0) uint32_t helper_carry(uint32_t a, uint32_t b, uint32_t cf) { - uint32_t ncf; - ncf = compute_carry(a, b, cf); - return ncf; + return compute_carry(a, b, cf); } static inline int div_prepare(CPUMBState *env, uint32_t a, uint32_t b)