Received: by 10.213.65.68 with SMTP id h4csp330920imn; Tue, 20 Mar 2018 04:48:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELukGeBb7Hya7juwdf4QrRl8Ate0UlYd8cgHmk0LtZK6A9Kb379l7eJaQmreduP4ZaraXdtj X-Received: by 10.98.144.205 with SMTP id q74mr9788547pfk.55.1521546508813; Tue, 20 Mar 2018 04:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521546508; cv=none; d=google.com; s=arc-20160816; b=uBgBY5wawE129oz/UAHHnhenz6e5WmDQb25Fe2vb8oMqSF35xbCvboK0kNmBjC2Xmf tdnKI2MMsU0DP3vTDp7G+xCsRsE2YRpd5WGBxOCwCys/C2+xQ8sksT+eJDkwRQ9gyewc 3BsF84RVdF1OXeX5v1v1CVnJIqq2oYoK/VAH3rWSguIr+cI2pyTjzM6Q1GddWTf9jx/a weiUSiPnpgyLMaWo297M5HhVrSoJ1mccDrSQHIAUnRoS4AfBlzn7sGqEn8F+n6x25rzk NVDts0GGwPwWKSPPAgnDcFfjKUCHEioj0C1N8WrPzoHsd5ttkPbO9e2lJsMF5OpH0jfr /svg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=R7w+477gAVJC/t0EpMgVIi/z7+JJDdv6pEJZPsg5WD8=; b=wux66A1/XiGp7q12zb523t05pmxzvU/lTmp2I3K0yA6BjaexAbJxnOvalkiNcUTjmR QsTGvPv5uHnyh2FvJRSZ1RJGMprMjZhjIQ408rsO9wyBINnRkn8WnLUbEcNufMCD58Qp EradSfG6ZSgFARRKibrDI/gDp5ntwH+oMM+e18h+KeD0kp47MRZaE2xUVhTKj6UTDPp9 yM6Bt+WvLGp3/FZvPyAE8fdRk+CHQVWimJRx6lKW1k+3x3f/FVqkq/MOpR/gjo4Hn7tG 3gZt66qd+btIPurRboNUsvYyG6SITSDz9GoGLslaqo4cXQP4WsOEqgoVW0SPHpNsouV3 RdKA== 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 d9si1070389pga.789.2018.03.20.04.48.14; Tue, 20 Mar 2018 04:48:28 -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 S1752926AbeCTLr0 (ORCPT + 99 others); Tue, 20 Mar 2018 07:47:26 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38226 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587AbeCTLrX (ORCPT ); Tue, 20 Mar 2018 07:47:23 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E5C311208; Tue, 20 Mar 2018 11:47:22 +0000 (UTC) Date: Tue, 20 Mar 2018 12:47:21 +0100 From: Greg KH To: hariprasath.elango@gmail.com Cc: aditya.shankar@microchip.com, ganesh.krishna@microchip.com, dan.carpenter@oracle.com, gehariprasath@gmail.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2] staging: wilc1000: replace switch statement by simple if condition Message-ID: <20180320114720.GA31253@kroah.com> References: <20180320114331.4084-1-hariprasath.elango@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180320114331.4084-1-hariprasath.elango@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 20, 2018 at 05:13:31PM +0530, hariprasath.elango@gmail.com wrote: > From: HariPrasath Elango > > In this case,there is only a single switch case statement.So replacing > by a simple if condition > > Signed-off-by: HariPrasath Elango > --- > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) What changed from v1? Always put that information below the --- line, like the kernel documentation asks you to do. v3? :) thanks, greg k-h