]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove unnecesary lshift/rshift key initialization
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:52:46 +0000 (14:52 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:52:46 +0000 (14:52 +1000)
commitae01cb8631f167f5247bc31a55e8231deeeb44b0
tree5db1b9c390d810d45de2ea9147551ca7212856cc
parent64dbe0479bb6f1a51ed627671ca96c4feaa07ebf
xfs: remove unnecesary lshift/rshift key initialization

Source kernel commit: 1f704b2b47822435765aee16f120ae06cc40e78c

In the lshift/rshift functions we don't use the key variable for
anything now, so remove the variable and its initializer.  The
update_keys functions figure out the key for a block on their own.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_btree.c