Message ID | 20191123160444.11251-2-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 1ef26b7c948128dc9240939da06690bfd90f4607 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp886452ilf; Sat, 23 Nov 2019 08:05:25 -0800 (PST) X-Google-Smtp-Source: APXvYqx4f2kPDVRvXlanyU2y8GOQ0no6UexRMK7X0AUfHhA7sR7pC+I+Qka0RJ75jpCe3cjflouU X-Received: by 2002:a50:946b:: with SMTP id q40mr7907244eda.70.1574525125455; Sat, 23 Nov 2019 08:05:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574525125; cv=none; d=google.com; s=arc-20160816; b=fbJUx1SZ7bmPnzPCyUDG9VoMhOlokvLB/HMwL3H91i1gV3ySeSlYsBbwDl7p0VfDY/ f9Zx3fXu+AkSYlHbdIWg9m6twN0Rs/CHPchVz/MvQQDMpugwGjbRI3kb+sw/03BFZ02a 2JN01g5nlHYKQ2Td4AEEvc41sb6muG4wE08NmAJ1C29f1vv9Lvs9urR8AQGfasazulMS VxydRPZclYjOv1UaEqVR/FXOvSxyl1WJaK5fT+JABg4/6gA95XLTkBXbWuvHA/abROfI 2QA3peei/ceTac7axITWNTLjZk9LZAjVSvmgWZWZK0ZJ1/ujr0ZbefvZ/X9GpzNN+NFE PAMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=6aYBJLETzzZ9tKk9VjyP9bE0/hE74dTgHGjrEeWx9tY=; b=uVhhXPmdC36wipzoCyJoPr2hwkR1Cgcm4EWN3pPRpj6LVjEKF/7bte2HE5reYpt6TO EBe0L6Vspk5o7mE4vIPikFYc1JA/Wp+4CMq92Tqiwc02vS/onQ0yrgLGACwdpa3c3Nzx ZDwsjzQZXHkwEjXsJfMmvWDMJU/D7iBqDZWOONtcjn9BmDqXG0oK9YfyoBxELskuI1Xc qm7VbN5r1J5XWsob0zXPDO+IWu5Uk8PCzZFlub8ZWdTkVhIDg/puZz83O2dfyIsIaYq5 MwzKu09xYUJGqFBCaKovNxHRZAeFM9b2W+FxGtLcoh+KS6J0+Yu+cCoH6qk2cAWkI6c/ Ge0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=N7FL27dA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dt11si952344ejb.126.2019.11.23.08.05.25; Sat, 23 Nov 2019 08:05:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=N7FL27dA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbfKWQFC (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Sat, 23 Nov 2019 11:05:02 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:49448 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbfKWQFB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 23 Nov 2019 11:05:01 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-12.nifty.com with ESMTP id xANG4l5I019106; Sun, 24 Nov 2019 01:04:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com xANG4l5I019106 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1574525088; bh=6aYBJLETzzZ9tKk9VjyP9bE0/hE74dTgHGjrEeWx9tY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N7FL27dA/kBwCUd2PiBYIDy2zn0eXNV0eFrD9GtjMz/7rjD/f+UGAV1/F9JwuYckj 7YnV9+dRizG4tIHpkPqPmdhqenRw6KOj9pO+ZsFtJ5M5pAuhMOttzkV1/y9CpJPVf7 xwerW59vgpNG13UM0Ci/y9v0ba1HtJGD4wFxr3mE+yDGnAKEQh0jK1GZyjK47N6Sws jJaJ/DNQMHmfRrZP6MNkB6JBRuBnT7iJfphGkcfaM9ulj3ex4FJZ6JGzVSVXMwP3+A 046/QJQ2F8xrsv1/wSnqdGZpw2qjFDXRQRT/iDW8Ch5K3FhotK5XvhTiINI2tSuryN oDbPZ4skevYFw== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <yamada.masahiro@socionext.com>, linux-kernel@vger.kernel.org Subject: [PATCH v2 01/16] scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE Date: Sun, 24 Nov 2019 01:04:29 +0900 Message-Id: <20191123160444.11251-2-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191123160444.11251-1-yamada.masahiro@socionext.com> References: <20191123160444.11251-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
scripts/kallsyms: various cleanups and optimizations
|
expand
|
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index ae6504d07fd6..918c2ba071b5 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -24,9 +24,7 @@ #include <ctype.h> #include <limits.h> -#ifndef ARRAY_SIZE #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) -#endif #define KSYM_NAME_LEN 128
This is not defined in the standard headers. #ifndef is unneeded. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- Changes in v2: None scripts/kallsyms.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1