From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755184AbcDKNFL (ORCPT ); Mon, 11 Apr 2016 09:05:11 -0400 Received: from ozlabs.org ([103.22.144.67]:38474 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754894AbcDKNFJ (ORCPT ); Mon, 11 Apr 2016 09:05:09 -0400 In-Reply-To: <563CBD1B.1060407@gmail.com> To: =?utf-8?b?5oWV5Yas5Lqu?= , benh@kernel.crashing.org, paulus@samba.org, mudongliangabcd@gmail.com, will.deacon@arm.com, takahiro.akashi@linaro.org From: Michael Ellerman Cc: linux-api@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "linux-kernel@vger.kernel.org" Subject: Re: uapi elf: delete unused macros Message-Id: <3qk9Jy6NyYz9sC4@ozlabs.org> Date: Mon, 11 Apr 2016 23:05:06 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-06-11 at 14:45:47 UTC, =?utf-8?b?5oWV5Yas5Lqu?= wrote: > >From 13f516acc709d88d3162e92bc891c8e39cc9fc1a Mon Sep 17 00:00:00 2001 > From: mudongliang > Date: Fri, 6 Nov 2015 14:35:19 +0800 > Subject: [PATCH] unify the comment form and delete unused macros > > diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h > index 71e1d0e..ff81b20 100644 > --- a/include/uapi/linux/elf.h > +++ b/include/uapi/linux/elf.h > @@ -342,15 +342,13 @@ typedef struct elf64_shdr { > #define ELFCLASSNONE 0 /* EI_CLASS */ > #define ELFCLASS32 1 > #define ELFCLASS64 2 > -#define ELFCLASSNUM 3 > > -#define ELFDATANONE 0 /* e_ident[EI_DATA] */ > +#define ELFDATANONE 0 /* EI_DATA */ > #define ELFDATA2LSB 1 > #define ELFDATA2MSB 2 > > -#define EV_NONE 0 /* e_version, EI_VERSION */ > +#define EV_NONE 0 /* EI_VERSION */ > #define EV_CURRENT 1 > -#define EV_NUM 2 How do you know there isn't a userspace program somewhere that's using this definition? cheers