Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2088939ybg; Sun, 27 Oct 2019 10:51:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxu2LxdRPgEM7HuFfSfK4Yjv8omzXlWBZH2SmHxRsNZcExQPpZtAB9K8EPyqJpJLcWc6Fh X-Received: by 2002:aa7:cc18:: with SMTP id q24mr15217646edt.150.1572198668954; Sun, 27 Oct 2019 10:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572198668; cv=none; d=google.com; s=arc-20160816; b=i2KUC9ih+sZNeny+Jy2sLUsL94Mnw/Z4dNcgfRMlSRiSY4lbVYlfl69+M7WxePwemg /K4eZ3x1oq4bkfbbFr6AIGupLddhJceAZDZGdbtzfQe9hoEok81Xn1Z3T6Jecu3PaDml B6A0NgkrUoKwvnwhfKx1YiA8exTY+FnE63nSjn6GOGZZoRSbJ5f4/HaAcei+eQGKWzoC aksrx/0jBffXiaXasi3ks8K799DDAGx+DfPL6mC0PPz1Fw07a4cWyWjdPbgzCWUGEXgC d77/2W1WTjWCLQwmlEuHzQ50n9LTGb6XY7xffK/g6QcEkKGtucriCYbNoPMxyHwSEQaj 8CwQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=xEy3TN5x5/gYla+irAZsZ6AR5hkYO/R9cAnyhZadJDg=; b=eEvfzx5D9G6fg2pKLBJbIw0P1ghO9ttypx1AmCd6WBWKo03J8NbJw2pOMaUTvQSRNS X3VVTN5Sm4ebNWlgfmgwwmvFZPwD9CG/jgLjiA8Et/UtBfPMaZcQoiiuAA0KyMtAIzKv jEILnqHCOjwXewZNTovU/PTULHW/IFByfvZLjyB8U0ns3RsPUuFFt7Rlp0V5UwJqulCH Bm8liuzK/YmRtC+W5Wib1k7KG+SCVJ7LKq9GXKvlCr3r2Eo2NQpdeAlL6dkuwSvoRnPL 5Zm2/ZHydlve/ZKVIh1cHaHH4EFlEiYUfPoDzpRYuS+8tqx307S9Q3L7icvD1b9+2gI1 DYwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=LPwzPvB9; 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 h48si5815676ede.31.2019.10.27.10.50.44; Sun, 27 Oct 2019 10:51:08 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=LPwzPvB9; 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 S1727811AbfJ0RqN (ORCPT + 99 others); Sun, 27 Oct 2019 13:46:13 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:36998 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbfJ0RqM (ORCPT ); Sun, 27 Oct 2019 13:46:12 -0400 Received: by mail-ot1-f68.google.com with SMTP id 53so5284730otv.4; Sun, 27 Oct 2019 10:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xEy3TN5x5/gYla+irAZsZ6AR5hkYO/R9cAnyhZadJDg=; b=LPwzPvB9k8mqey+YGpTQ6S36Qx0exXD+8AzvsgLrNAkE4olYCyufUYCuIJzgVuVhV/ HwvmGYLs9LY5M2G/gFdj3Ici4IwwyGLxZSPTJLThK6vlOC4srQV6f1HdOzdwgSYXrmxK xoDuJjPCO26ElWRtrNIB2OOyDdn5hXgyG20ajGWQY0qjWSmTOs2BtQU3DNPa3t+sfHgO fqckWg+s7Wr/8flPny/8e6OUka30bRmd5+IqpN3iayYU0RwvkklXseFo0HPG2j2FXKlL 96GAsYeKNPnJKXjKgtnm1r5/SkAxGMeq9aF57APXdkuhAId5wFuIxcG9aFl0zaeIiZbb 80mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xEy3TN5x5/gYla+irAZsZ6AR5hkYO/R9cAnyhZadJDg=; b=e/abgiP6qBAxrRgCSt7Vh+FmjlKQ4cfxGpVTcpkLb8qHCCO/elGYKtZ6MPglVKwtwN rnn6ynudI2t9aUn4OXwnDC396xKjOVtB1V+VpO1VKxzTXrzenso/6GGO/jQBPPS/Y0ow QeXp16UrYdOkPj4GSuJQKZ98VcX/6R80IZudyKmhDXLk33c7KE7FlZGWo1ACnUHyeJV/ 4v4xqNfLnQyMpZkYdOPjIezJvANOxajn+fp8dxO7t/TREtzd2LxcKyIDkKq6PouhG+cL NdbzJQ6/yDhozaCBUjHjdWkOJC5M4Lv59cXitCaktuPP3MhYnghEWMSz0LZQ4KhZwipM +Z3Q== X-Gm-Message-State: APjAAAWlWmpANi79urkI3gWnEIbnZLcYQkwyLse1MH+WwrTeAGsZ93ET ryBMsBvn0MFyVBQ1lbOgCxA= X-Received: by 2002:a9d:7d09:: with SMTP id v9mr10685593otn.292.1572198371402; Sun, 27 Oct 2019 10:46:11 -0700 (PDT) Received: from [192.168.1.112] (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id y18sm2793129oto.2.2019.10.27.10.46.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Oct 2019 10:46:10 -0700 (PDT) Subject: Re: [PATCH] net: wireless: realtek: rtlwifi: rtl8192c:Drop condition with no effect To: Saurav Girepunje , pkshih@realtek.com, kvalo@codeaurora.org, davem@davemloft.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com References: <20191027062255.GA9362@saurav> From: Larry Finger Message-ID: <4d2b5e56-48ba-4af5-e7c6-b6171210cb32@lwfinger.net> Date: Sun, 27 Oct 2019 12:46:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191027062255.GA9362@saurav> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/27/19 1:23 AM, Saurav Girepunje wrote: > As the "else if" and "else" branch body are identical the condition > has no effect. So drop the "else if" condition. > > Signed-off-by: Saurav Girepunje > --- The patch is OK; however, the subject should be: rtlwifi: rtl8192c-common: Drop ... We do not use the directory tree in the subject. By convention, it is the driver directory and the driver name. It is common for the driver name to match that of the top-level directory, but not in this case. Thanks, Larry