diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-21 22:49:25 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-29 18:12:35 -0700 |
commit | 97d3b2676fc6bc4865eb825037f4492f0fb804eb (patch) | |
tree | 70849e28c19a2749249a466acf63d5af7e4ad3e0 /drivers/misc/pch_phub.c | |
parent | cf069c3b47fed4e475a13e3ec89451fbdb88869a (diff) | |
download | linux-97d3b2676fc6bc4865eb825037f4492f0fb804eb.tar.gz linux-97d3b2676fc6bc4865eb825037f4492f0fb804eb.tar.bz2 linux-97d3b2676fc6bc4865eb825037f4492f0fb804eb.zip |
ocfs2: remove some useless functions
Patch series "ocfs2: A few clean_ups", v2.
__ocfs2_node_map_set_bit() and __ocfs2_node_map_clear_bit() are just
wrapper around set_bit() and clear_bit().
The leading __ also makes think that these functions are non-atomic just
like __set_bit() and __clear_bit().
So, just remove these wrappers and call set_bit() and clear_bit()
directly.
Link: https://lkml.kernel.org/r/cover.1658436259.git.christophe.jaillet@wanadoo.fr
Link: https://lkml.kernel.org/r/bd1429c84ec7d174c96dbb67a2b42b1b456d9394.1658436259.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/misc/pch_phub.c')
0 files changed, 0 insertions, 0 deletions