# Re: \[PATCH 1/9\] rhashtable: simplify rhashtable\_remove()

- From: Thomas Graf \<tgraf@suug.ch\>
- Date: 2015-01-30 16:36:21 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/01/10976774
- Thread: https://ratatoskr.run/netdev/2015/01/10976740/t.md

```text
On 01/30/15 at 07:46am, Patrick McHardy wrote:
> Remove some duplicated code by moving the restart label up a few
> lines. Also use rcu_access_pointer() for the pointer comparison
> instead of rht_dereference_rcu().
> 
> Signed-off-by: Patrick McHardy <redacted>

BTW, everything except the rcu_access_pointer() optimization is
also covered in the "rhashtable fixes" series I posted.
```
