Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1396862pxk; Thu, 10 Sep 2020 14:22:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqPK2EYKmsZP62ISi0dXHWwDU7IqSm9/EYcW9ws/mvMMU/TM05PXp3zJWwXIN0exPRvdmO X-Received: by 2002:a50:ee10:: with SMTP id g16mr12070895eds.258.1599772956625; Thu, 10 Sep 2020 14:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599772956; cv=none; d=google.com; s=arc-20160816; b=HVweq+HA6uAh5u1ow1lF7lEouZSj2fY5XbNgQcFz2YYArIIGB/ZGxftBq9HWyOJvc3 jt7OT3QGgZIxbq8Lvza4F5V93IfV6KLdD+v9RLO6GezlMe2s8cKRHkXT07gBpF9Y1PP5 /9eAlOXbu0ZN7EV1nyC53DgYeRwdNg3Omw7qDsea03eWhewm1yN3JEOrNCCC0kwAMNcP UqRT6tESk2XHXDUNGv6PLn7/B65BfOFrDzP7ieumda6jyb5kB8w6cRqs9DLPDnuy9raT +wMSyCGdLgZ9z1DupqminC3pYbTSPFiE9n3YTRy7nuKI+6OCosEvlO9baHAJSb3qQMUX JsmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2ReUn4s9LGs+Wc1qa0Wl54OLhH+3YOfASWWo0CBEymQ=; b=rB0i1qMQzdzGGaqdvTWJEzK2n2EG90rM6PwC8kon1YSOaspKP/p+CWKu6DZpWjmSmD ZxJ+HjjQidpm6B7pH54cflPv6Zuoah7+pheBXw2ckPsuHlQjPgHZEj9iCzq4DdWFizHC WDTd9pvfv80j0YDXFxH/HHc8JyrHwWn+pqHz2cX08hlaVlwZpUsOAljyDOdwU4CiVzFk vxqwCg6FYtOB+c3QDJz7djTPHTNyaWKMWDGVe+a9/QLBqAdq2z3JqW6PwDt4h38Z9PGC xEfCbHTafKREts9++JWEOpnvLFzCjN3L6n25vebiCsjUT3G7YxwkJKWyyQ8TEf4pYSI8 JLvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PWyypZoJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si4199302edr.507.2020.09.10.14.22.13; Thu, 10 Sep 2020 14:22:36 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PWyypZoJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728200AbgIJVTN (ORCPT + 99 others); Thu, 10 Sep 2020 17:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbgIJVOl (ORCPT ); Thu, 10 Sep 2020 17:14:41 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00862C06179A; Thu, 10 Sep 2020 14:14:20 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id c18so8737758wrm.9; Thu, 10 Sep 2020 14:14:20 -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 :mime-version:content-transfer-encoding; bh=2ReUn4s9LGs+Wc1qa0Wl54OLhH+3YOfASWWo0CBEymQ=; b=PWyypZoJc6BPiQwDax3WwcV3cXwmEQeLGMNWjpLxjW3ZDOvhwAI8gaIQnSrT7JjpPt WXtxb5ypgcHqga0h7GYIEQV4Lvcw8jhMxLgFbKljO8gMIfXv7rMCw30sKoaHFLk1cRXx xmd4XZ4F2ZeaOZloE8c2SL9ZHSJuCYwadRgmCt0vtH0xKE+x30ElA3nPfQA0pphHfTxB idZHLhwNvtDwhfUzSwOyWZYJSyoQlFkmW5oaC7wpixfRJO2UJVqSgpb1inJRj/5i8Dqx tIsWtXmWwEDxqICje7Ibl4ZNrAwB4sdhBaiLcstnH/t2b0psshxt8VmtYyq3GzlbVOsK vo1Q== 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:mime-version:content-transfer-encoding; bh=2ReUn4s9LGs+Wc1qa0Wl54OLhH+3YOfASWWo0CBEymQ=; b=j63HT2wX9tZ/RHaJC5AoyFU/06lprhejxALfYFCMpNIW4L3gqAJtMa75fk5/MKHUik zqFBUEdcm1BEIcmoWw2L48DqUtYw/NrqwfV+LFpm7RGmYfarEdWe5VsbGDdlVCBoFghD 6dYpvqYADWwKzO+XBjUes5JFvaHq2fjUPiEQ/KQhi0IRz0nN6kpy3+5IavzlLw9CrCx1 Rqje4dvYRvivCCi4918gXw+RYVymYLuwXhcpsOPIXOU8jwRUZwHfzVPW627o6nups123 ESgHCCe4//yjNJjtv3afI5pQ4vUhu0lEQR3tFrMdBGaQNYZpN13IZtw7Z1/ger4yo3Aa Jv0A== X-Gm-Message-State: AOAM533PKPzjVeml+pgGMj7gDgQRshmr4LskaBT8r4yICXBCl55ID7ne lp0GxlIDBkgg/xhSHfRFwurcKccfXqDLiw== X-Received: by 2002:adf:f750:: with SMTP id z16mr10413808wrp.377.1599772459739; Thu, 10 Sep 2020 14:14:19 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id l10sm111502wru.59.2020.09.10.14.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 14:14:19 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Alejandro Colomar Subject: [PATCH 09/24] clock_getcpuclockid.3: Remove unneeded cast Date: Thu, 10 Sep 2020 23:13:30 +0200 Message-Id: <20200910211344.3562-10-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200910211344.3562-1-colomar.6.4.3@gmail.com> References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Member 'tv_nsec' of 'struct timespec' is of type 'long' (see time.h.0p), and therefore, the cast is completely redundant. Signed-off-by: Alejandro Colomar --- man3/clock_getcpuclockid.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3 index 283f92557..050d7ad13 100644 --- a/man3/clock_getcpuclockid.3 +++ b/man3/clock_getcpuclockid.3 @@ -154,7 +154,7 @@ main(int argc, char *argv[]) } printf("CPU-time clock for PID %s is %ld.%09ld seconds\en", - argv[1], (long) ts.tv_sec, (long) ts.tv_nsec); + argv[1], (long) ts.tv_sec, ts.tv_nsec); exit(EXIT_SUCCESS); } .EE -- 2.28.0