Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp643344imi; Thu, 21 Jul 2022 08:10:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLmIlMGA+15OZK1OvBnAHn74Tkl7M/EQKYimc34CAy9vT+DvmQEWxv5/TPX5T5Tn7myajm X-Received: by 2002:a05:6402:1bcc:b0:43b:cb0f:22f7 with SMTP id ch12-20020a0564021bcc00b0043bcb0f22f7mr579513edb.324.1658416256085; Thu, 21 Jul 2022 08:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658416256; cv=none; d=google.com; s=arc-20160816; b=GBNiAZfhn9IoyVbRsUYPkLEWU1SqC5DyiYQsedDtwpXr83wwMZCuCe28hlyv6/lGPX lrEe1PyOGRl1U71uGa815zwOLxnaqZljdcXs7JksrFL3U6epkD6KA7sITy2YUsPwwKV9 Udx/HCCqiL91CcR8rHSp1Z6h1+GyW6Niz0ihzQmhtzvoQaTppsYv404bCKaDNWWjFnHw yx2W9u+/wdUwQ6jFCTgD4KkpB1UUCSNeiH/wHV5Rqggkj1MUc5q15ZcTTugHhN8lA3gr 5raDUo1itlvmwpeRWVgUw8GRM/fsA6M3g8blRXryHILxXoLnQ/Wr7QRtgU5SaGRsWTWz YqLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=JeYFtSPDsXNaZXYrTwjNhCXDJakI4RnMXmS/UIy+7LE=; b=mZ41PGf9TfN7S5XJHNPADOi9nQADqZ+iJsPTVtkzMb0s4x0d1JKDkYp2HLpEGgG3pH +2RQFwhavkzT9B7lrxKPmIX0dOfY2MAXljAsZMZiGeNMHTSF4fph2J7QTzSAlThAwXiV 2dqL9m71sWtDZEyE0TWWZozq/kN0md/tonxl7PlEBSMmEWVaubRNweQKqjjV+ygmoLCf S5Iw6NlhK3CHvypCnx29GdCuy7yfYfUf0Itoz0R5xc0QqWj0rU2mB+XfdYXDXBCF3u+S qdGHuCKNcL7e8GZ6G4f4ieiDPHCKjbz86TFhEdeBWEdtBGTopTUKxzvLxOdJrLaI9o1t mzbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b="SVI/XP2i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a056402275000b0043a837b7216si3431035edd.28.2022.07.21.08.10.31; Thu, 21 Jul 2022 08:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b="SVI/XP2i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbiGUPBI (ORCPT + 99 others); Thu, 21 Jul 2022 11:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiGUPBH (ORCPT ); Thu, 21 Jul 2022 11:01:07 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63B19664EF; Thu, 21 Jul 2022 08:01:07 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id r186so1932938pgr.2; Thu, 21 Jul 2022 08:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JeYFtSPDsXNaZXYrTwjNhCXDJakI4RnMXmS/UIy+7LE=; b=SVI/XP2iFa0W/zveXCJv51PNfqhga0CSOUN0fdkEHmWKHobZSaspDG5RxXsDDBQQqg RVmpCBXdniVucnHYKvXWxGWrWRfdQONRjg9GxkpSroCpDslUTIiYU59DjdUe6B2agKPZ GaFIXlE5jLO7WhGb6HlBMZOzntlBElwDKLDYzMFq5AypUsw+OVfafHs47V98mpqpuVAb iyIEuTBDHaO/ARlR4Rr3yuHYTuzMiy2UyKpSTbG2PxkdSXZXarucw66nUuISrAZPsKLy mswB1Au0PV3twyhlMa8mCayZdFXNmVbCQM508g/pUuOIcNpxpA+2aXWsuHN4aBcFzdMt oPJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JeYFtSPDsXNaZXYrTwjNhCXDJakI4RnMXmS/UIy+7LE=; b=iJokOjs8lMCRtB/pQB4/YrKEkh/WgbVJjIkXNL3UH0Cq5KU+jk07OSbajAlP6zCZ9+ sOlKZdYwrAQn+nFfOY3gHWE48DnOyTl15f44D+2wI4HQMm9TurSQw/FTKY7tf9ycJ0BU VIDi9b7JHbHObAMLHFsm5+UwXSLlwV1tcbxgplMvp7jhaGi+Nhjkuwiu0hczbw3upU0m t6DtCErliByfBs6CkViogyTYDfw3hX566WGrnUZ049D9Xan/8ncRUo7ytVBikDxhH4vj 4fkhIQ6uvIo2lr2Pwt1WZb2iiAWNUuAvxWv3wN3m6sciTLlhpak1a8KdGn41sBFfyw3q oqYA== X-Gm-Message-State: AJIora/AuRr6yv6kTtWjJCwE0SEL+iqgr8+2hkBiCeZ5hAJUXZKp6c5/ 8EAzL8hYcNBsx4trFJ5/U02kEDViIlplglk31pI= X-Received: by 2002:a63:ce4a:0:b0:419:c8f4:d2a3 with SMTP id r10-20020a63ce4a000000b00419c8f4d2a3mr32246515pgi.515.1658415666756; Thu, 21 Jul 2022 08:01:06 -0700 (PDT) Received: from localhost.localdomain ([2405:201:d01c:7038:6d29:af18:34a6:1c34]) by smtp.googlemail.com with ESMTPSA id e25-20020aa79819000000b0052aaff953aesm1851897pfl.115.2022.07.21.08.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 08:01:06 -0700 (PDT) From: Abhijeet Srivastava Cc: abhijeet.srivastava2308@gmail.com, Corentin Labbe , Mauro Carvalho Chehab , Greg Kroah-Hartman , mjpeg-users@lists.sourceforge.net, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] media: staging: media: zoran: Removed braces for single statement block Date: Thu, 21 Jul 2022 20:30:49 +0530 Message-Id: <20220721150055.52096-1-abhijeet.srivastava2308@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Warning found by checkpatch.pl script. Signed-off-by: Abhijeet Srivastava --- drivers/staging/media/zoran/zoran_card.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index 26f978a1cc72..0c138d47d0c3 100644 --- a/drivers/staging/media/zoran/zoran_card.c +++ b/drivers/staging/media/zoran/zoran_card.c @@ -1038,9 +1038,9 @@ static int zr36057_init(struct zoran *zr) zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev, BUZ_NUM_STAT_COM * sizeof(u32), &zr->p_sc, GFP_KERNEL); - if (!zr->stat_com) { + if (!zr->stat_com) return -ENOMEM; - } + for (j = 0; j < BUZ_NUM_STAT_COM; j++) zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ -- 2.34.1