From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42280C43467 for ; Wed, 14 Oct 2020 00:24:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0BFA0208B3 for ; Wed, 14 Oct 2020 00:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602635054; bh=AIv5ceHAyZCZad6fxInfruE+0jFPYfcHlsra7dB8X98=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=DxucId8GjYNeKx/DXbrTGPM+l05nSFjYSgAP6fdx0974b0QG+64B7EyKQYQIWCHoV cDpmZ+DdTjbwVjmXD+IENzYm/CdF+YK6gDa/Qcm1oCeiZmXt+5K5HiWUUCt+BmEhFv 8LHXC+uFa7yuCYzvGOPo+/AgT0ie5l6wO4q8zLhk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730474AbgJNAYL (ORCPT ); Tue, 13 Oct 2020 20:24:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:50908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727122AbgJNAYL (ORCPT ); Tue, 13 Oct 2020 20:24:11 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9D059207DE; Wed, 14 Oct 2020 00:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602635050; bh=AIv5ceHAyZCZad6fxInfruE+0jFPYfcHlsra7dB8X98=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0rwZlxw4hoIK6CwaGSZbWfFEcb19tf5Dl5ZxvLxryDAhRK5wYMpRMHyBwNRxBSxzl /kHKsYvb3Ij+e8BEFPhMVRmYqIjpNfncA0rqYth4XvzoQnJQ/2wtw+RCqAT4GPeNQ4 FtniWrRu3n+9SwwejA7nzbnaL1unuzX5I9yUssvU= Date: Tue, 13 Oct 2020 17:24:07 -0700 From: Jakub Kicinski To: Or Cohen Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Or Cohen Subject: Re: [PATCH] net/af_unix: Remove unused old_pid variable Message-ID: <20201013172407.0d1ca4ba@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201011153527.18628-1-orcohen@paloaltonetworks.com> References: <20201011153527.18628-1-orcohen@paloaltonetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 11 Oct 2020 18:35:27 +0300 Or Cohen wrote: > Commit 109f6e39fa07c48f5801 ("af_unix: Allow SO_PEERCRED > to work across namespaces.") introduced the old_pid variable > in unix_listen, but it's never used. > Remove the declaration and the call to put_pid. > > Signed-off-by: Or Cohen Applied, thank you.