Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2473271pxu; Mon, 14 Dec 2020 03:17:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKgklMy3dVdr4q1Rc3Y6AoyMp+bYgKQL4zFaT8Om1342imHxJ5armvH1A5NFJK287K+zgr X-Received: by 2002:a05:6402:1841:: with SMTP id v1mr24933277edy.194.1607944674981; Mon, 14 Dec 2020 03:17:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607944674; cv=none; d=google.com; s=arc-20160816; b=UMKZywYyPRGh6MDKXjsbK/Xxr/C5qPXjw11C6QoMschK1CLTA6in6El5GOVqUO76M1 +Cy1Jst1JG4oD0nnKUlC/yT26CKN7PIw352pwhtIUu2YDJ3+rqJgMWRGqw3Efp3h/dwa zttA3rmJGzUpsdAd0OASWDhzGbSmSxz8ms4tg7Kq9ZUAGtcqZczn5nHeuedgX2pYmBoJ wZijRAzywvYGVXgXFxZryFem0+HdTSaVNK8ezKW0g9LOUN6tA0mao8nubTIMrfgEW+Uv fubdF9sZXBFdkRmrMLiScW7E161BlY/t1k8P5hOLAQgqtOCqqzEAjDXNaBLKkzpeGe/G Ghjg== 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=owTjJoXQ9GvgefMTQHVYFpZMyhi3BpipS10R2kPcGlRU2KrQPz8n920gBbH4r9wpU2 dNxm0KXBxtH9ALXT+IIPlHW5fpmkJX81PATLw4SVEkOiq2NYUgfncY6Dj5+QEhLXk6Wr X/CFV7a8JGcwmifUEcsWawH82/xU2yow1EqpzhsCDVMQZHlXUCK88h5Ml+Zvw2uF+5vZ A9ocmW0t3YvY+pUkBPKBd3xz+gODJ7tepuXMg+HRj8YWoAJtlHrl80y1UROJj459cnpx ZDVCUXPghJpm/uTUos6g5B24ZEjGVTh1Z6fwuLI1d58R5hyJQHBZcDN1vgPXDY5kgCi7 CyRw== 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 l18si9451891eje.178.2020.12.14.03.17.30; Mon, 14 Dec 2020 03:17:54 -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 S2406443AbgLNLPs (ORCPT + 99 others); Mon, 14 Dec 2020 06:15:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729802AbgLNLD5 (ORCPT ); Mon, 14 Dec 2020 06:03:57 -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 303F9C061794 for ; Mon, 14 Dec 2020 03:03:05 -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 E4577240BAA; Mon, 14 Dec 2020 12:02:55 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id DE9123280146; Mon, 14 Dec 2020 12:02:54 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , ij72uhux@stud.informatik.uni-erlangen.de, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@i4.cs.fau.de, gregkh@linuxfoundation.org, sakari.ailus@linux.intel.com, mchehab@kernel.org Subject: [PATCH v2 08/12] media: atomisp: Delete braces Date: Mon, 14 Dec 2020 12:01:52 +0100 Message-Id: <20201214110156.6152-9-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214110156.6152-1-Philipp.Gerlesberger@fau.de> References: <20201214110156.6152-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