Received: by 2002:a6b:7707:0:0:0:0:0 with SMTP id n7csp971507iom; Thu, 9 Jun 2022 15:04:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp+x/XxIsGTdOntiS0ihaKsoJ+18/RVocaCMOYsR4FIxua+4ShiFx89lS0E9ue6Q9tkdYU X-Received: by 2002:a17:90b:33c5:b0:1e3:e57a:8998 with SMTP id lk5-20020a17090b33c500b001e3e57a8998mr5430720pjb.54.1654812285836; Thu, 09 Jun 2022 15:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654812285; cv=none; d=google.com; s=arc-20160816; b=dtTKZwJLMUvM56PTFzEtoKkDfdp/vDrR8fGOiO6G7g4qVddwNliy4xa2cxWzaNk3DV 4DB/kNkk2m5Rvsgkrc3E7ZCTbzgVBvxcdEXXe9t6fq60dkXdaYxzaQRiZTh/S5YM8Qf3 El1WfxlFylK2WAxeFclslwZll3aLXFgAZUOBKvlNHdczf/WnSS7iPeujzyssWYB31aIQ 2mjAEgit1iAJbY/fd8l3Uvbgou9Lx6umlBvW2jpTVmN3fJYG/Y7+LHsA6aYdUhcpNyh1 ratAlBLE6aY4oMI8kYcYgdCt8WzyM/pZFte+kFlrGKos+B4aQ50luHRCg6UkI1EY7Ku5 mMFA== 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 :dkim-signature:dkim-signature; bh=lg3+kMHDoOC5AiOpaP8JlSQdjMtlWF34C+hOQNw/yTs=; b=qUuKyvw/ARY6jU4OageVzQop0bza2bm//kV4HryrpvyjYcVUBFSHau2P6XiFa9BpS5 7Mdkz1CInf6UFjURsQjNRqKTCUUza9h8t+490+9i75pqfbsiCUiFfefXX7CJeLba6fyr IiqolnWH39g9SGtSgSWW/4IzJ2iOsaULOQzSu02oEyjmAZMQ2JZJZB2z7h4yV2tkJ9Kr zFnuKVMiDhaSCvQVJLD6KR3b7zqxECLP1Jykdqlc1MfEWnpT/ON/galf3+2ZDYtDS6ey 9kbjWUfaJdmjiJYMfwpLaQlq/NtsAITIUfsDsUUFM9yUvzS2M+VB0YUFs8C02q+FnXXE 8nEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=mYYNKIv2; dkim=neutral (no key) header.i=@suse.cz header.b=PI66gB9W; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g124-20020a636b82000000b003fd917016f9si18362409pgc.164.2022.06.09.15.04.28; Thu, 09 Jun 2022 15:04:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=pass header.i=@suse.cz header.s=susede2_rsa header.b=mYYNKIv2; dkim=neutral (no key) header.i=@suse.cz header.b=PI66gB9W; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240947AbiFIVmp (ORCPT + 99 others); Thu, 9 Jun 2022 17:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243378AbiFIVmi (ORCPT ); Thu, 9 Jun 2022 17:42:38 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0BE66CA7 for ; Thu, 9 Jun 2022 14:42:34 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 34F721FEAF; Thu, 9 Jun 2022 21:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1654810953; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lg3+kMHDoOC5AiOpaP8JlSQdjMtlWF34C+hOQNw/yTs=; b=mYYNKIv2knFYiXBNRNxk/3Y/td20GA8Osla77NcsBTUI25bQP9waUC3K3aR3f9OmkFLwK8 L30a/2q/cFsWIEgNLVzEckDDkOblyzzyrq3w1hCTJcV9oLlp2Dl6mVFWTDisxCnaE38fOb h8yNlEcqxf//N4tG/SMC9PPGcGxqJl0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1654810953; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lg3+kMHDoOC5AiOpaP8JlSQdjMtlWF34C+hOQNw/yTs=; b=PI66gB9W78PVwxe5X98odS0u6dC5sODVMk5ymzaaxTtaXXTTLv/1QRq19RtdOj3ozoWLIA 7uLZieJEZMWZL2AQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F3D2F13A8C; Thu, 9 Jun 2022 21:42:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SBDDOUhpomIQDgAAMHmgww (envelope-from ); Thu, 09 Jun 2022 21:42:32 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , linux-nfs@vger.kernel.org Subject: [PATCH v2 6/9] tst_device: Remove unnecessary braces Date: Thu, 9 Jun 2022 23:42:20 +0200 Message-Id: <20220609214223.4608-7-pvorel@suse.cz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220609214223.4608-1-pvorel@suse.cz> References: <20220609214223.4608-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org to keep checkpatch.pl happy. Signed-off-by: Petr Vorel --- testcases/lib/tst_device.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testcases/lib/tst_device.c b/testcases/lib/tst_device.c index 2a3ab1222..d6b74a5ff 100644 --- a/testcases/lib/tst_device.c +++ b/testcases/lib/tst_device.c @@ -40,11 +40,10 @@ static int acquire_device(int argc, char *argv[]) } } - if (argc >= 4) { + if (argc >= 4) device = tst_acquire_loop_device(size, argv[3]); - } else { + else device = tst_acquire_device__(size); - } if (!device) return 1; -- 2.36.1