Searched hist:"1 d5bebba" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 1d5bebba Thu Jul 12 00:26:38 CDT 2018 Gustavo A. R. Silva <gustavo@embeddedor.com> xfs_attr_leaf: use swap macro in xfs_attr3_leaf_rebalance
Make use of the swap macro and remove some unnecessary variables. This makes the code easier to read and maintain. Also, reduces the stack usage.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> 1d5bebba Thu Jul 12 00:26:38 CDT 2018 Gustavo A. R. Silva <gustavo@embeddedor.com> xfs_attr_leaf: use swap macro in xfs_attr3_leaf_rebalance Make use of the swap macro and remove some unnecessary variables. This makes the code easier to read and maintain. Also, reduces the stack usage. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
|