]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove call to btrfs_header_nritems with no effect
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 30 Apr 2012 09:17:25 +0000 (11:17 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 4 Jun 2012 12:35:29 +0000 (14:35 +0200)
commite9fdfcfb60539cdb3b0f4ca89ab9f7f807442fea
treefa4c4632b328fa65433345d69dfcb2cce9117f62
parentca39e5a0437670704732b7ce68f25948f62e651e
Btrfs: remove call to btrfs_header_nritems with no effect

This is a leftover from cleanup patch d7795d51. Before the cleanup,
btrfs_header_nritems was called inside an if condition. As it has no side
effects we need to preserve here, it should simply be dropped.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c