]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rpmb: Remove some useless locking
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 9 Oct 2024 20:53:06 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2024 15:11:51 +0000 (17:11 +0200)
commit3b0889f95789aa90b0f1a6921d5d6b151f2e53ae
tree85266d7d80d1ff339aa2d6c3dcc439da47291f5f
parentdfc881abca4247dcf453ce206f05fe09b51be158
rpmb: Remove some useless locking

There is no need for explicit locking when using the ida API, as stated in
the doc related to ida_alloc_range() / ida_free().

So remove rpmb_mutex.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/b1fcc6707ec2b6309d50060fa52ccc2c892afde2.1728507153.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/rpmb-core.c