Received: by 10.213.65.68 with SMTP id h4csp260395imn; Tue, 13 Mar 2018 03:34:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELtQ1ho0BLx4oG4F9t0jpxWaWkpim0Ihpx4/iT8QB372BeQanjg0v8s6BatQ6NGXqUztbYK2 X-Received: by 10.98.249.10 with SMTP id o10mr105368pfh.222.1520937265854; Tue, 13 Mar 2018 03:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520937265; cv=none; d=google.com; s=arc-20160816; b=SP4WNs4AB2+ZkA6otGJX6AKOvEaXPqq/bSGBq+SmriShHCWKjEwtIG6odtcKxybUQP I+Ksf0ykp7demfG1vLWtzsssDntiL6/mwwsniOCaPTdb6u2mbwdDOu9TgeudYhqqh99M crtk5ryrci/QU1nrDUWz/STV2aH6/+ITwOFaRb74QvR63lZ4c52QSA5A7pUcR5jVamMu R95+rscEoRBlFcmVs2wmZi2AYE/lMzsV2F+mEFKJLFg+2z2b10G9B9LBJwq3PDXbETpl TqEXN2PEtrGzqukhtzwFJ3ipnVMAQo6nl2GtXJAvMPorHu1ZC0wfXXcU1cMZESgHRORZ MkFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=mkXyOE2KRWfUAgMfWz2rlbJuyd/XpE8AA1N/w6RQfKA=; b=zwBFkKF8Yyt2TcnzevpwaurG+p4DjvQxkrzZQlJ1d5lfTqmJJBWNmvNaIfaoyOwyKj F2WIjsZ6Xv4YPdLqaQmTs0ZOyb6RrDxm/wAT5b+YRfQexEpyJmfNSwBUflJ9PcQbOwat hrny4pF2uP6e5wBZtxIf/bKXRA+ssgR4JumkK8jmeCyN43Wjfuq8gw7acg7T31bzQZBs ifWY1kY7cm20ynRLjqlA5pr8yLXwjTVN5Wq0VwX2kCQsJ0qef0x2xj5tii8mzF93EIi3 EFnqeyAjW91hKE2a4Z/rSihC5813qK9T+PBeMOLyTYzI39gWyr0kGz1C5URl3u5zKJsj 56qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si6571plp.662.2018.03.13.03.34.10; Tue, 13 Mar 2018 03:34:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932714AbeCMKcv (ORCPT + 99 others); Tue, 13 Mar 2018 06:32:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:35712 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932574AbeCMKct (ORCPT ); Tue, 13 Mar 2018 06:32:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 04559ABB4; Tue, 13 Mar 2018 10:32:47 +0000 (UTC) Message-ID: <1520936817.5879.2.camel@suse.com> Subject: Re: [2/2] net/usb/ax88179_178a: Delete three unnecessary variables in ax88179_chk_eee() From: Oliver Neukum To: SF Markus Elfring , linux-usb@vger.kernel.org, netdev@vger.kernel.org Cc: "David S. Miller" , Philippe Reynes , Andrew Lunn , =?ISO-8859-1?Q?Bj=F8rn?= Mork , Yuval Shaia , "Andrew F. Davis" , kernel-janitors@vger.kernel.org, LKML Date: Tue, 13 Mar 2018 11:26:57 +0100 In-Reply-To: <7d45bd0c-5ab2-a2c0-d746-ef2d859eea08@users.sourceforge.net> References: <019cc24b-d9c0-d782-35e8-f9f8be0534db@users.sourceforge.net> <1520849038.29340.3.camel@suse.com> <7d45bd0c-5ab2-a2c0-d746-ef2d859eea08@users.sourceforge.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, den 13.03.2018, 08:24 +0100 schrieb SF Markus Elfring: > > > > > > > > Use three values directly for a condition check without assigning them > > > to intermediate variables. > > > > Hi, > > > > what is the benefit of this? > > I proposed a small source code reduction. > > Other software design directions might become more interesting for this use case. Yes and doing so you killed three meaningful names that tell us what these checks actually test for. That is not an improvement. Regards Oliver