Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1897743imm; Sat, 2 Jun 2018 11:40:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJA9d1hy9QvldMA2EOUVWFV22mo1hm7aL0yOWEfXymCk74fSM/uamHqB/+R8Myl1zj9kt7d X-Received: by 2002:a62:8b9b:: with SMTP id e27-v6mr15531256pfl.82.1527964806735; Sat, 02 Jun 2018 11:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527964806; cv=none; d=google.com; s=arc-20160816; b=cyNirx6f4XhBIfYpgD4A4lPa8FivhuvjmWBwLkB5yim9O+SnPcqEKrPK+/1PP0ha2J DVlz/dki8ff6NRP04wYflFz0OzVCkNGd1yvhPsQHn9eEebQ1f5uFqB2B+8AcLxEfPXo5 iFww+rZkEbUfe7WLKYT5H6Eq66V8hk3B5UBdREPXErfZb2bIXpX8Af7s0LoLWfF//Xbu U+Aoj49BxUT+Sgt9xK0XjwEnSeTBdNwTPB73es5yIyy8JUBVJw1dqo5ZBcjwj+LDAdvk xi6Qq8k38mIqaItQDD4Ps6M5J0u0bY5kMHmcGig0AkuooDpQgaHrrZUlj1k36mO8cliF 7ioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=mYdCt6CMLSwEVPSMrIJ8MCyVZIZxG+TncjCVUY8XR89nwJ8Ekz9y6iwswvSl0jAGyn 9Zzm2T6OsHX57HUoxPxXJj4CNp6+3BxJnMomwXICaB8B/EYan3wTtm+6tIvZtbIKT0Yk 3BXobuo/pm8UurWBZHRSkbvlkUKWmpIEobvHwR83JsNCRNPMi3QX0xMgXpEeOjaMN1ES jJ0HYMhxmKxfY3Bnse2r1r+XZGf/4rguDKGs9YCvP0PcXmQ0vilwpO/KNNLsWtnVvgau Z+bRz2X5iNDpPl8LPXXeBqoHcaawkfpmDHtUHbtsewFmlAwr6z+jq/8bWJtpdPSFG/vE 443g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YsZ41qf2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a95-v6si13907938pla.401.2018.06.02.11.39.46; Sat, 02 Jun 2018 11:40:06 -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=pass header.i=@gmail.com header.s=20161025 header.b=YsZ41qf2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084AbeFBSjK (ORCPT + 99 others); Sat, 2 Jun 2018 14:39:10 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:32853 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752003AbeFBSjH (ORCPT ); Sat, 2 Jun 2018 14:39:07 -0400 Received: by mail-pf0-f196.google.com with SMTP id b17-v6so2464769pfi.0 for ; Sat, 02 Jun 2018 11:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=YsZ41qf25kG5fica79lUslSuv8d3DKqkUZC5ZdfD81ehUNzcBopdr5OK26xQQDEuy/ w2RBVcIOPGlcp2KwBevci7SSC7X7ucW7+kvbaLd10T0nkImUaJC+h8MfyqNed10pgyfn 3S1HFfuadXZ6viHacsxI6pyX0rxeEEh5HNK/vZAqfsQGkmkhlg4wNuAAixovxLQb2fXo 5MYEVtJqD1KOhxy2xNSUNvZBUNe+HUT1kc5rP3vx1IwEngpZis5NIANr8mZGd6lSTToH yL5amcZNnlDfymyR2xYJhMLNNt1HcZklebaijR8yvVt6eS5I2U6OiqQa+UGzsbrUvzfX pSKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=GUHCYHRvpJL0Qh32dBY3qDu3OjkshHrdSjCMLJLuszO4HxVNjPdeOPuMEE/Wn7c1p2 aUmh9MzUK04IPlNjAr6GGy60idVmv8lZ6U+EyeCXHV/4+dgA7d8sYSWATLCz1PUsG279 3y1EFSE1CuUyLf5MQbTCA3UbilmSRhqajD+smi7c9p0xdNmWoPx3CCnN5AcDUZcpXCtB 42sTXZxMIJKPMncpye9UJWO6J7RVW+EPdL0GHuHp2B1dybgp0vEBcdV1y5RUdjWNT8pX priajAEqRmNN89ffdH3mdgu9dq9WkKXJT4cYvNTRdhziUmDYVHDBlmP7jYJ5yW4bV9It IpcA== X-Gm-Message-State: ALKqPwcJ9lIA5C+ZqHxVKnZge91xdIuceYibYkAOAKfFftA6izxvvVgv aLeyce5oMFjVSBCKguakLUI= X-Received: by 2002:a63:444:: with SMTP id 65-v6mr12860549pge.101.1527964747303; Sat, 02 Jun 2018 11:39:07 -0700 (PDT) Received: from localhost ([47.30.108.147]) by smtp.gmail.com with ESMTPSA id b74-v6sm48035189pfl.138.2018.06.02.11.39.05 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Jun 2018 11:39:06 -0700 (PDT) From: Sankalp Negi To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, neil@brown.name, sankalpnegi2310@gmail.com Subject: [PATCH v3 5/5] staging: mt7621-spi: Remove unnecessary braces {} from single statement if block. Date: Sun, 3 Jun 2018 00:07:31 +0530 Message-Id: <20180602183731.12395-6-sankalpnegi2310@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180602183731.12395-1-sankalpnegi2310@gmail.com> References: <20180602183731.12395-1-sankalpnegi2310@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c index 472f72479162..cf5b5d7c3cf9 100644 --- a/drivers/staging/mt7621-spi/spi-mt7621.c +++ b/drivers/staging/mt7621-spi/spi-mt7621.c @@ -165,9 +165,8 @@ static inline int mt7621_spi_wait_till_ready(struct spi_device *spi) u32 status; status = mt7621_spi_read(rs, MT7621_SPI_TRANS); - if ((status & SPITRANS_BUSY) == 0) { + if ((status & SPITRANS_BUSY) == 0) return 0; - } cpu_relax(); udelay(1); } -- 2.11.0