Message ID | 1464129345-18985-4-git-send-email-ddaney.cavm@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Rafael Wysocki |
Headers | show
Return-Path: <linux-acpi-owner@kernel.org> 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 BFC3E607D3 for <patchwork-linux-acpi@patchwork.kernel.org>; Tue, 24 May 2016 22:40:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99C20281E3 for <patchwork-linux-acpi@patchwork.kernel.org>; Tue, 24 May 2016 22:40:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E1C12822B; Tue, 24 May 2016 22:40:54 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 4B4B3281E3 for <patchwork-linux-acpi@patchwork.kernel.org>; Tue, 24 May 2016 22:40:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbcEXWkx (ORCPT <rfc822;patchwork-linux-acpi@patchwork.kernel.org>); Tue, 24 May 2016 18:40:53 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34438 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408AbcEXWgF (ORCPT <rfc822; linux-acpi@vger.kernel.org>); Tue, 24 May 2016 18:36:05 -0400 Received: by mail-pf0-f195.google.com with SMTP id 145so3421975pfz.1; Tue, 24 May 2016 15:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0zzUu+7Q3FjngXshjWr01d5gt7bRg5U7QAwr6HfjaM8=; b=bvp0wmapV0dDzWmFikdcAZKMA7H7x6E56Mu0yyg+bCnJDDVOblS3ZBmnuoN/uiX6H7 5xct9I9i3w7fRyyeLBNrf5G6utTCmWz4KsMC62bv8B/jkjgk3uTKa9w5YcpylGhufSZa Lnkk75I4xejLBUKcAHq9YtsJj9VhWFo/qGeJU0YsvlFQNEG8u4/n8KIo1TNBqYajpZTx yUJvyRkjPx9Bb12+0i8tXjLSPGn6/JTS9blayT3ZqZUUfgDz4xRohDZFWsJXpYzr3aEx zWweaz1dugUprtfbQarEFoL2RCFS37q4J9HmM/GuWsi2R9AnTbgqAlTXmMEn2MQYT3ID cdrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0zzUu+7Q3FjngXshjWr01d5gt7bRg5U7QAwr6HfjaM8=; b=apMc9CiazjH6JCT/5K/Y3PZkIkARJ9DxnQX/qUe4ZhEw7mXGoQknCwMYUsyeQ+EjA2 LxhxUvxmVNpyIQ4fwiIHI+KyAnwF5niUDkXgihJ7aje/odlVtR+e5pKQdTGZ/uz9fS4S A7b7wkkHzbK6ZtbGXVcwcnylbW+v13q/YX/ZZt4nZTC2YVgpNn+s8wkbHbnaKXJqNJJk xVTLz0YAmG4KYk5/KTdYN4tk/uk2vD/Uu61nFlvG0b3m3YV7eL2oOO2vSQA/uNz2jLm+ ldGw3b4Zoafnz6HezCmerJUBjLfu91YCvAGrHK7HdhPcXi6TfBwb5XBBfxyp4fJNWu7X 2fLA== X-Gm-Message-State: ALyK8tKsyWfRNaU8chTz5VkE+UfxKv59tUR10xmC+U3n5EI+i8qvnWkGfnlm2u0lpdUCWQ== X-Received: by 10.98.96.194 with SMTP id u185mr841824pfb.13.1464129364146; Tue, 24 May 2016 15:36:04 -0700 (PDT) Received: from dl.caveonetworks.com ([50.233.148.158]) by smtp.gmail.com with ESMTPSA id o87sm26979171pfa.75.2016.05.24.15.35.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 May 2016 15:36:02 -0700 (PDT) Received: from dl.caveonetworks.com (localhost.localdomain [127.0.0.1]) by dl.caveonetworks.com (8.14.5/8.14.5) with ESMTP id u4OMZwiu019047; Tue, 24 May 2016 15:35:58 -0700 Received: (from ddaney@localhost) by dl.caveonetworks.com (8.14.5/8.14.5/Submit) id u4OMZwrE019046; Tue, 24 May 2016 15:35:58 -0700 From: David Daney <ddaney.cavm@gmail.com> To: Will Deacon <will.deacon@arm.com>, linux-arm-kernel@lists.infradead.org, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, x86@kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Len Brown <lenb@kernel.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Grant Likely <grant.likely@linaro.org>, Robert Moore <robert.moore@intel.com>, Lv Zheng <lv.zheng@intel.com>, Hanjun Guo <hanjun.guo@linaro.org>, Marc Zyngier <Marc.Zyngier@arm.com>, linux-ia64@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org Cc: linux-kernel@vger.kernel.org, Robert Richter <rrichter@cavium.com>, David Daney <david.daney@cavium.com> Subject: [PATCH v7 03/15] acpi, numa: remove duplicate NULL check Date: Tue, 24 May 2016 15:35:33 -0700 Message-Id: <1464129345-18985-4-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1464129345-18985-1-git-send-email-ddaney.cavm@gmail.com> References: <1464129345-18985-1-git-send-email-ddaney.cavm@gmail.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-acpi.vger.kernel.org> X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index a089c39..6f1cad8 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -125,9 +125,6 @@ EXPORT_SYMBOL(acpi_map_pxm_to_online_node); static void __init acpi_table_print_srat_entry(struct acpi_subtable_header *header) { - if (!header) - return; - switch (header->type) { case ACPI_SRAT_TYPE_CPU_AFFINITY: {