diff mbox

xfs/122: remove dead code

Message ID 1475916836-30439-1-git-send-email-eguan@redhat.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Eryu Guan Oct. 8, 2016, 8:53 a.m. UTC
Seems this hunk of dead code is used for debug purpose to inspect
what the output looks like after _attribute_filter. Just remove it.

Signed-off-by: Eryu Guan <eguan@redhat.com>
---
 tests/xfs/122 | 4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/tests/xfs/122 b/tests/xfs/122
index 330d3ac..f39ceba 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -196,10 +196,6 @@  echo 'int main(int argc, char *argv[]) {' >>$cprog
 #
 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_]*$)' |\
 egrep -v -f $tmp.ignore |\
 sed -e 's/^.*}[[:space:]]*//g' -e 's/;.*$//g' -e 's/_t, /_t\n/g' |\