doc:lock: remove reference to clever use of read-write lock
authorFederico Vaga <federico.vaga@vaga.pv.it>
Sun, 8 Sep 2019 06:29:01 +0000 (08:29 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sat, 14 Sep 2019 07:53:27 +0000 (01:53 -0600)
commit19ad5f79f92e01375070009439c9f3ae22dc6b22
tree7cd775f26ab313821e461031a1b8c13e4fe3077f
parentd62e8055a596b3d3f11c1643ba18a9cbf093a0b9
doc:lock: remove reference to clever use of read-write lock

Remove the clever example about read-write lock because this type of
lock is not recommended anymore (according to the very same document).
So there is no reason to teach clever things that people should not do.

Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/locking/spinlocks.rst