Received: by 10.192.165.148 with SMTP id m20csp993289imm; Sat, 5 May 2018 02:31:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoj/fStvOClQTcJ8INhNd3a51aBBN3Z0HKvqFNLd/nq6eAmPtiKajI9Nmh0Bs6pCSTOQfvo X-Received: by 2002:a17:902:7582:: with SMTP id j2-v6mr13106050pll.65.1525512698612; Sat, 05 May 2018 02:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525512698; cv=none; d=google.com; s=arc-20160816; b=I+VfDicpwGJF+uLYd4B5ybR+6fYPalyhDRIW4IS//c5ccu84BvyHAQpaboxu/aSrmT YLFwVHm8eyB0Bb51zKJdUxdCxBJL3ojhVNtdcGB73vZySgwLfR02d+jSsybVg1YhSyMU RFfO6uyxj6wNYra/CrmSEnpODwoRdi6SXdgz8AwhusN8ERZIN9VryNqo9urF5Vip20J5 vhTdarmvA1OzInvnJzn1EzzG3khNc0MSybFTILWsfjbI9c8vIxFRh7MsWxYalPgnX7xu 9P931NOhwcc47rfF6VDmKBc3Nalcbsu/rsYOEuS6lONiodYZaBGUKo84zWQRPGfY9quk +3tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=7lXprQj54Zb+YRzxCYhzpj62Qd/MqfgK5G2BALJMPxA=; b=VHOtSrYa5Oxb7oYqsXen6FOdi2VaRnpVMzzE6azx2AETC1UWuYz+tyMxW/KzpxKjl2 PxC/geXLUBHPXo0e/xHvJo++d2VVwPA/BKvorHs4H4h0Xpb9nqpqpO+dUvxtZwFTKYiX 0MHow9fKVG9IGnnovB1hUCfdaukHTT1i2TSl8QNxJW38NGJ/CtJh8pKByHnr+mv1nMMU rzwxpClcId+vpgSHnItnn6ruaqyx+a9gAD8MF4YHxbi5g7MwRNtcug37i5H1e3uqHpOe gHQWzjNRysi9ZQvaVaTiijT+oi9+p4xnid4XYDYBzFOS4bUpRTm03dJadcSpuuSd2n3D oCkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3-v6si7363906plb.246.2018.05.05.02.31.24; Sat, 05 May 2018 02:31:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751617AbeEEJay (ORCPT + 99 others); Sat, 5 May 2018 05:30:54 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:35412 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbeEEJax (ORCPT ); Sat, 5 May 2018 05:30:53 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1fEtWj-0001rZ-3k; Sat, 05 May 2018 17:30:49 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1fEtWi-0005zT-As; Sat, 05 May 2018 17:30:48 +0800 Date: Sat, 5 May 2018 17:30:48 +0800 From: Herbert Xu To: NeilBrown Cc: Thomas Graf , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Herbert Subject: Re: [PATCH 5/8] rhashtable: remove rhashtable_walk_peek() Message-ID: <20180505093048.daniququh6yi7wjt@gondor.apana.org.au> References: <152540595840.18473.11298241115621799037.stgit@noble> <152540605435.18473.12657571579874985957.stgit@noble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <152540605435.18473.12657571579874985957.stgit@noble> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 04, 2018 at 01:54:14PM +1000, NeilBrown wrote: > This function has a somewhat confused behavior that is not properly > described by the documentation. > Sometimes is returns the previous object, sometimes it returns the > next one. > Sometimes it changes the iterator, sometimes it doesn't. > > This function is not currently used and is not worth keeping, so > remove it. > > Signed-off-by: NeilBrown I don't have a problem with this. But it would be good to hear from Tom Herbert who added this. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt