From patchwork Thu Dec 4 19:28:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 5439891 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 10C2A9F30B for ; Thu, 4 Dec 2014 19:30:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E6EE20379 for ; Thu, 4 Dec 2014 19:30:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 166DB20375 for ; Thu, 4 Dec 2014 19:30:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933049AbaLDTaO (ORCPT ); Thu, 4 Dec 2014 14:30:14 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34917 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933042AbaLDTaN (ORCPT ); Thu, 4 Dec 2014 14:30:13 -0500 Received: by mail-wi0-f180.google.com with SMTP id n3so29033183wiv.13 for ; Thu, 04 Dec 2014 11:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=yoSB5R1TbrbXFquXLJIe3cbQYkwwWK8MkgLGHTLPvvg=; b=LvnV/PDgz91ZMs8snT0xUfToEwWc7Qna04xIqA9Uv82Rrujd0upgoLY5ltAdlLGJYQ FvbebLU/gvJUNi+s0fDXBtfAKVFSYYYiAWdheLW7UQMzexgrO26S1g3EzZNTjRn+bjSe K08D5ZEDa4BY9HY2LWnG0Hj0SFjeJVHiKmZ3y4uJwC5o2Jdmx5ldsWKn1f/W1X3VsNb/ rge3C4E0ZESmkCWqoSZtVnuxLOasHVWp1P1CqW9NNKKbEAWcplBFZ4IrRVliZFUbnlWD ehYZE/gWuBOdwJHKC7N//dSZMmFEL2qEn9p1O9f4ICoYHEelwxPbyYgHc10cbxZ/mOJp SxNQ== X-Received: by 10.180.83.98 with SMTP id p2mr109900569wiy.20.1417721412007; Thu, 04 Dec 2014 11:30:12 -0800 (PST) Received: from ?IPv6:2003:63:2343:500:2db1:a14e:ff2d:e9ed? (p20030063234305002DB1A14EFF2DE9ED.dip0.t-ipconnect.de. [2003:63:2343:500:2db1:a14e:ff2d:e9ed]) by mx.google.com with ESMTPSA id n3sm56211213wiw.5.2014.12.04.11.30.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Dec 2014 11:30:11 -0800 (PST) Message-ID: <5480B5CB.9070503@gmail.com> Date: Thu, 04 Dec 2014 20:28:11 +0100 From: Heiner Kallweit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Mark Brown CC: "linux-spi@vger.kernel.org" , festevam@gmail.com Subject: [PATCH] spi: fsl-spi: remove unused variable assignment Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove an unused variable assignment. Signed-off-by: Heiner Kallweit Reviewed-by: Fabio Estevam --- drivers/spi/spi-fsl-spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 83f8081..60c5907 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c @@ -368,7 +368,6 @@ static int fsl_spi_do_one_msg(struct spi_master *master, list_for_each_entry(t, &m->transfers, transfer_list) { if ((first->bits_per_word != t->bits_per_word) || (first->speed_hz != t->speed_hz)) { - status = -EINVAL; dev_err(&spi->dev, "bits_per_word/speed_hz should be same for the same SPI transfer\n"); return -EINVAL;