Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2267950pxk; Sat, 5 Sep 2020 15:24:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVGoC+x3A0LXdQgL/Cv+Ya1gQZC+M1JFc98cdmsybxzSVyNosxpWMXB9Gtu+K0M4zTiAEO X-Received: by 2002:a05:6402:1254:: with SMTP id l20mr15167666edw.312.1599344666148; Sat, 05 Sep 2020 15:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599344666; cv=none; d=google.com; s=arc-20160816; b=ZOwF9s21nOZjb8hSlVoTlqMZeLqROFertXNKsmPuN7g5aV1ra+6GtqzTO0gV7VO1Gb xeTBISLnp+gnUjKdiBInIIt16hx5jJtc32yLMi9U2ftU6Lobf3PquzCveQ1gWQquFdp2 TDZfEkqwMZ5jrYaK436McJAscq3uddK5yMRY1bd4UV7ZgVyM6TGPxWiIa9fve/rxIcOc E22HfamO2ClETcMiEukH6IsE6ms5P6YIdE32wcD8RKLS0om7YmCPC2Tlo+P2VluPJVHg gyvUUXeMTaQYDyG2Lo2LfgYpKkdtQwzs6brMt+340eOQ18OGgtKnCU8qK92AAD0wtIxb nKkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1BDMcpQw7F2n0vpAYMxEtlMz6+kO4zVd5DFWcPydw70=; b=eFFl6zrJsHi8dnr2io0DMxjtaY6uw14/QEYMbbvXsXhroBCS5kX+X3pm7a7Vhwd3oN RG1SJxMssfm+dC6JU24rcmOF3psOFCFR4vGcjhM+2maJVFmt8rrqVh9RozjfN3ceU/jt oyf+M7Ec+Mvhwqq3bVjpitgyv+90vzZ+GrQjwOcgTu04Ggc9fvmZ3dNNS4Sk0p6Mc4Ub j2WVSK2mYmUfOOugG+wtnMPdEm3gXmCLkWnUVWVIK9L32NwFbcKV0dbfwo69U5zEWfPI QEZ3VZ/zdczgOobxaTZCMfVGCb3hDqfENYCqDIHt6R2Qk8d7f+VmTNgxK4z6mtca48dj q08A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=qIKAAuFn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx23si7024659ejb.355.2020.09.05.15.24.03; Sat, 05 Sep 2020 15:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=qIKAAuFn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728792AbgIEWXb (ORCPT + 99 others); Sat, 5 Sep 2020 18:23:31 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:5478 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728731AbgIEWX0 (ORCPT ); Sat, 5 Sep 2020 18:23:26 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4BkTZ13ySYz2F; Sun, 6 Sep 2020 00:22:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1599344553; bh=iDbtP5Vj3NeZw0UZGfi3cOZkOKeebgGCYPGxEfAoB2M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qIKAAuFnXtiLVefok68uGzU+13OOG2tihFyjqGNC5Jb8QIedWIGiNqNkqxWjRutFV 2BBAhWt3KZSGuwUKBWIQMOzMjcMoAy+rV37Tceo9loqa0UoMayx3rH+BhzOHUucKT1 fRm2TLboIj/zeAIpP5Xb3bcdnkl0Ggal/d8BUUTZjmhsELOYAKYRyqsM44Q9lSeEWA w9rzV79Bm2T9ISmH149kz0nTHwgT0BrGWPn9oDr+38yvDiCmHD9A6fFi6SmkSx+GR/ lb9+7t72dV2gaaFc83PYfA8CwjOvU5jGBlLNeRgdk1in7Qlvv0OMfzGYWlf2NDzgia uslVUXnpSigrA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at mail Date: Sun, 6 Sep 2020 00:23:23 +0200 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Wolfram Sang , Andy Shevchenko , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 16/31] i2c: tegra: Remove "dma" variable from tegra_i2c_xfer_msg() Message-ID: <20200905222323.GC18554@qmqm.qmqm.pl> References: <20200905204151.25343-1-digetx@gmail.com> <20200905204151.25343-17-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200905204151.25343-17-digetx@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 05, 2020 at 11:41:36PM +0300, Dmitry Osipenko wrote: > The "dma" variable of tegra_i2c_xfer_msg() function doesn't bring much in > regards to readability and generation of the code, hence let's remove it > to clean up code a tad. [...] > --- a/drivers/i2c/busses/i2c-tegra.c > +++ b/drivers/i2c/busses/i2c-tegra.c [...] > + if (i2c_dev->is_curr_dma_xfer) { [...] In this case I like the previous code better: just because there are less letters to read. :-) Best Regards, Micha? Miros?aw