]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/122: remove dead code
authorEryu Guan <eguan@redhat.com>
Sat, 8 Oct 2016 08:40:24 +0000 (16:40 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 14 Oct 2016 02:05:34 +0000 (10:05 +0800)
Seems this hunk of dead code is used for debug purpose to inspect
what the output looks like after _attribute_filter. Just remove it.

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/122

index 330d3ac696c143496eb0b6acdd422c12e6058a19..f39cebaf34ae0f0d664d4277841b557abf3f2ecf 100755 (executable)
@@ -194,10 +194,6 @@ echo 'int main(int argc, char *argv[]) {' >>$cprog
 #
 # Printfs of typedef sizes
 #
-cat /usr/include/xfs/xfs*.h | indent |\
-_attribute_filter |\
-egrep '(} *xfs_.*_t|^struct xfs_[a-z0-9_]*$)' > /tmp/barf
-
 cat /usr/include/xfs/xfs*.h | indent |\
 _attribute_filter |\
 egrep '(} *xfs_.*_t|^struct xfs_[a-z0-9_]*$)' |\