Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2643542pxu; Mon, 7 Dec 2020 11:34:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7SKGo3tcrX02E+rwWsYYRKm2VH6Yrq5MsL2BfGtonTantmZC2SWgCYVMh1N4CNG65ofmA X-Received: by 2002:a17:906:8058:: with SMTP id x24mr19413569ejw.262.1607369678357; Mon, 07 Dec 2020 11:34:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607369678; cv=none; d=google.com; s=arc-20160816; b=gbP+ZoM1O0gkBnkYkzUPuTqKyXyUzGNICCaw9o0/C7bVkLtzm1pUqg+yFbqAcO6NTn +ViGX+ygkJfdpDhhA5p0atWcLZbOo6I/z9HzMAoxZ+I7VxJP1YsTh8Fp4zd7hEaNUJr9 eOC4mDs4ijsTiiSekoDnPRzhou4H17rqSh1SPhZAZmPHAF69agaGCBBcwr5tFldrZ64D ku4oc7DoIPqGjH+AprQJ/5is8JEDn8AqWz0L2FDp7UL/JXmB2V3wEyD1cZ97WmgiIlcg JVK6AnJgGqP575Xvf5Euxtq9Pt3BBOoBXJndX67uouNBEj2mKT0aHnhaCL2QEer8Th5q xgrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Rt4B+5dL7ZueHOw18+b23gJwm1dKcB/3enCGy7mi5gU=; b=dApolgXhlwxZZtE5IdxzPpQmzF42DNYeMcHgRsflEHPTgsCXIkWMgYpha7cOZLq/sv Ge1uoXWBBySkjnakuffRL4Z+yED2BjtQQM+/QL5UHXB8CNi7I2QWGM34qvebUoD8AqTv /GpTLtmvePF5qO/Ld+LtZsrtnNLtdCi1ZkjAmKsoKMmGgb1JQ7/Wp3WiOoXGMpWV9ojM FPNcBUZEAfeWJLVuCDo+IVwp/rmIq7zgmRkt4jn0vGPwHCdWC/YDcSk7lBYvQ3aU7tax +MYmTqn9BswbVS4F/1Q61dJbGS2A+/7QiG/kxMwfF69CR+ZrHbBgVLtnFZPdaSPKkT7L UVIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb14si6909273ejc.507.2020.12.07.11.34.13; Mon, 07 Dec 2020 11:34:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbgLGTby (ORCPT + 99 others); Mon, 7 Dec 2020 14:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726841AbgLGTbx (ORCPT ); Mon, 7 Dec 2020 14:31:53 -0500 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [IPv6:2001:638:a000:4130:131:188:30:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67384C061285; Mon, 7 Dec 2020 11:31:13 -0800 (PST) Received: from cipterm0.informatik.uni-erlangen.de (cipterm0.cip.cs.fau.de [IPv6:2001:638:a000:4130:131:188:30:90]) by faui03.informatik.uni-erlangen.de (Postfix) with ESMTP id B8E8E240F0A; Mon, 7 Dec 2020 20:30:30 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id B5B553280304; Mon, 7 Dec 2020 20:30:30 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, mchehab@kernel.org, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, ij72uhux@stud.informatik.uni-erlangen.de, linux-kernel@i4.cs.fau.de Subject: [PATCH 08/12] media: atomisp: Delete braces Date: Mon, 7 Dec 2020 20:26:35 +0100 Message-Id: <20201207192638.15219-9-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> References: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING:BRACES: braces {} are not necessary for single statement blocks Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c index 00b54a0613bb..08f5c3ea6d29 100644 --- a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c +++ b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c @@ -23,9 +23,7 @@ int ia_css_timer_get_current_tick(struct ia_css_clock_tick *curr_ts) { assert(curr_ts); if (!curr_ts) - { return -EINVAL; - } curr_ts->ticks = (clock_value_t)gp_timer_read(GP_TIMER_SEL); return 0; } -- 2.20.1