From patchwork Thu Apr 30 22:46:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allison Henderson X-Patchwork-Id: 11521837 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7D9A18A4 for ; Thu, 30 Apr 2020 22:47:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF32F20870 for ; Thu, 30 Apr 2020 22:47:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="aUbxauv2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727108AbgD3WrN (ORCPT ); Thu, 30 Apr 2020 18:47:13 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:48412 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727077AbgD3WrL (ORCPT ); Thu, 30 Apr 2020 18:47:11 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03UMhYi5047427 for ; Thu, 30 Apr 2020 22:47:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references; s=corp-2020-01-29; bh=RC5EGfSFsf5ab2DM6mj9suAAliyUE8J2YH03fLi6o2E=; b=aUbxauv2XszerbyWNtbxB53uvUChA22j2BLHENm2Eu2mayYJ5jUumtftpbomcysPLqdU UJZPHFXGo1r8GY0CII3wpqoVWS0fDeuaD+hpE0VJJ+7vCdAF1vdz+4x/qLaywteQM5DJ r8XtgUidFyxpI9j/oa8ByDlNcMSzIbLGcdEiiYoJ11in/vBn7cY/kYq5CAGSg3pffOxn YXFln61/ZvnKpHpRUxvkS0Voe/74nEoXqqv7U+wOjF0pTYREQZCtmbg5eX45VS6bm1E4 wVAyKoCVmlxm8xrYln31kudIyK4/Ui0JoPM2Qc84gMPy4YjkULXE7jzArEimULaDzpp5 yg== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 30r7f5r26p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 30 Apr 2020 22:47:10 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03UMh3Ct077152 for ; Thu, 30 Apr 2020 22:47:10 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 30r7f8a002-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 30 Apr 2020 22:47:09 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03UMl8LI012819 for ; Thu, 30 Apr 2020 22:47:08 GMT Received: from localhost.localdomain (/67.1.142.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Apr 2020 15:47:08 -0700 From: Allison Collins To: linux-xfs@vger.kernel.org Subject: [PATCH v9 14/43] xfsprogs: remove the unused ATTR_ENTRY macro Date: Thu, 30 Apr 2020 15:46:31 -0700 Message-Id: <20200430224700.4183-15-allison.henderson@oracle.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430224700.4183-1-allison.henderson@oracle.com> References: <20200430224700.4183-1-allison.henderson@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9607 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=1 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300167 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9607 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 clxscore=1015 phishscore=0 impostorscore=0 suspectscore=1 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300167 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Allison Collins --- libxfs/xfs_attr.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libxfs/xfs_attr.h b/libxfs/xfs_attr.h index 0c8f7c7..31c0ffd 100644 --- a/libxfs/xfs_attr.h +++ b/libxfs/xfs_attr.h @@ -70,14 +70,6 @@ typedef struct attrlist_ent { /* data from attr_list() */ } attrlist_ent_t; /* - * Given a pointer to the (char*) buffer containing the attr_list() result, - * and an index, return a pointer to the indicated attribute in the buffer. - */ -#define ATTR_ENTRY(buffer, index) \ - ((attrlist_ent_t *) \ - &((char *)buffer)[ ((attrlist_t *)(buffer))->al_offset[index] ]) - -/* * Kernel-internal version of the attrlist cursor. */ typedef struct attrlist_cursor_kern {