Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp497107rdb; Fri, 26 Jan 2024 01:55:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8ZL0WeO9Ns+KjAX962tbNVTpMKpfcyP1dfzaoZF48wZFWQcNt58b8ntPoUuyPL5r5Bure X-Received: by 2002:a7b:cd95:0:b0:40e:b6cb:40 with SMTP id y21-20020a7bcd95000000b0040eb6cb0040mr623865wmj.168.1706262936475; Fri, 26 Jan 2024 01:55:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706262936; cv=pass; d=google.com; s=arc-20160816; b=maRWF9dIQidnAU9xeu4zrjZEPbgFeYYUjoTsjOX87ETWf7w4ZC4IkzA0JAz9B1JMau /P8ks6UiDJBUMAh/owkB5gy4XOz+8v88edZnXFcwMFGLVVJbJN01V70MASRPWxI8JOmW znLSr3bNThl2Q1wwHUElcN6yoDfT4rUMW1LoJ15l5WGVa6mgXSWYK14DxnSz/JTnj9Z1 dgqnasVp4U+mFj4hm9tR7glYpSA5t3hN3QmvloLB95d17rgHYuzRxKHqqELXANid33bC xb5fFxSIPRW6MFb7KNXpj358HB8GTh8oYDaUv8OFzgsY+q13ZTEoSiqI1jI4HDty4PyK 8SMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=SikAfzXDyfny8K6RcFl9L4HlV9SKPm6Lb6wAlhj/bhs=; fh=kt/aiPn1K1T9hJvgMZ8EkqQc0mbIVGvIGGivbulJ+/g=; b=0gfydDVdJz544NCOQW9breU7YspidWxnikxJG7TOjEzJsoylFYxWutceaBSsyhKaj7 9nSVnQ2fzxI49O9cC/WNSjHNQIA8oFi+6y1IYZmO+N7xupQxzzdn3hrOeSelj45amf8p dXEb3ir5V7x2EXl49ZcFZvjfX5RT8Aw4feIMmO6LxrPP9aerW/L2bRi2gquzcf1BR1SO 6gOnBgewiBWTkYgVW/BpDEp0peAPUN1Yi4YmTAcP4Uy3jXn5NDnHiSoBzzN705LV0FCy uDm7+k6fuZxKbiO9h7ZfqNh9Asn3sUjDnEXDsDykUzRL3PgT0SWwHMc1Fj3yKj+/UFJ8 HgiA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-1655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1655-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a7-20020a1709062b0700b00a30d33f9467si401940ejg.586.2024.01.26.01.55.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:55:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-1655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1655-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D76E51F2ECF9 for ; Fri, 26 Jan 2024 09:53:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8BF65B207; Fri, 26 Jan 2024 09:03:39 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFECA134AA; Fri, 26 Jan 2024 09:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.6.53.87 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706259819; cv=none; b=LdkeBJ37SaokNHU7309UMPyYc71s2SHhOtHbF20YH6a2SO3dfsnK+OPn01AyxvUP8DO/Xnjb0PMPpC1p/1IKjit6ry73A5kXT+QhJuL6i6YRWuUcn5jfEJC9Z0CeZZHEPhokXG1fALEAJ2RiER98mJiw9vWJ7XTK6UaNKmDGnqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706259819; c=relaxed/simple; bh=7xFbIanwiFTtGY//LDX808ByA8lWdyfDM75y/yqmAgE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sqSXCLMK/TPVY7fspfbZwJVpBn5e5Z08DwBSX9HDE6aiVqQ9BDDzzOVVdpTZV2gPTUCvrkyaOlOXnsa79coyUnXITyo0co8fklkumvhvEyYAZc1l0vijwIgLGiQhHF+h7BVJpwBwYGAuP0tRJ04opnlmyuRoCmYc58+l5hLJ/ws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gondor.apana.org.au; spf=pass smtp.mailfrom=gondor.apana.org.au; arc=none smtp.client-ip=144.6.53.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1rTI7W-006EnA-Vz; Fri, 26 Jan 2024 17:03:32 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 26 Jan 2024 17:03:43 +0800 Date: Fri, 26 Jan 2024 17:03:43 +0800 From: Herbert Xu To: Colin Ian King Cc: David Howells , "David S . Miller" , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] crypto: asymmetric_keys: remove redundant pointer secs Message-ID: References: <20240118120745.2519762-1-colin.i.king@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240118120745.2519762-1-colin.i.king@gmail.com> On Thu, Jan 18, 2024 at 12:07:45PM +0000, Colin Ian King wrote: > The pointer secs is being assigned a value however secs is never > read afterwards. The pointer secs is redundant and can be removed. > > Cleans up clang scan build warning: > warning: Although the value stored to 'secs' is used in the enclosing > expression, the value is never actually read from 'secs' > [deadcode.DeadStores] > > Signed-off-by: Colin Ian King > --- > crypto/asymmetric_keys/verify_pefile.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt