From patchwork Sat Oct 8 08:53:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eryu Guan X-Patchwork-Id: 9368027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CEE3460487 for ; Sat, 8 Oct 2016 08:54:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1C6329940 for ; Sat, 8 Oct 2016 08:54:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B34E629993; Sat, 8 Oct 2016 08:54:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 602CC29940 for ; Sat, 8 Oct 2016 08:54:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752156AbcJHIy2 (ORCPT ); Sat, 8 Oct 2016 04:54:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43400 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbcJHIy1 (ORCPT ); Sat, 8 Oct 2016 04:54:27 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D7C5B8E3E4; Sat, 8 Oct 2016 08:54:26 +0000 (UTC) Received: from localhost (dhcp-13-64.nay.redhat.com [10.66.13.64]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u988sPX1025169; Sat, 8 Oct 2016 04:54:26 -0400 From: Eryu Guan To: fstests@vger.kernel.org Cc: linux-xfs@vger.kernel.org, Eryu Guan Subject: [PATCH] xfs/122: remove dead code Date: Sat, 8 Oct 2016 16:53:56 +0800 Message-Id: <1475916836-30439-1-git-send-email-eguan@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 08 Oct 2016 08:54:26 +0000 (UTC) Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Darrick J. Wong --- tests/xfs/122 | 4 ---- 1 file changed, 4 deletions(-) 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' |\