Message ID | 1461014052-30788-4-git-send-email-ddaney.cavm@gmail.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1502547qge; Mon, 18 Apr 2016 14:14:46 -0700 (PDT) X-Received: by 10.66.164.165 with SMTP id yr5mr52408851pab.133.1461014086395; Mon, 18 Apr 2016 14:14:46 -0700 (PDT) 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 n72si1646385pfj.204.2016.04.18.14.14.46; Mon, 18 Apr 2016 14:14:46 -0700 (PDT) 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=@gmail.com; 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; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752794AbcDRVOj (ORCPT <rfc822;pramod.gurav@linaro.org> + 29 others); Mon, 18 Apr 2016 17:14:39 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:33324 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504AbcDRVOa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 18 Apr 2016 17:14:30 -0400 Received: by mail-pa0-f49.google.com with SMTP id zm5so82620688pac.0; Mon, 18 Apr 2016 14:14:30 -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=3bReH887sZ5Pekpi8Ec27hQjF5LmNzfYNizdbEp17XE=; b=AHhTbETf9stCBwdUs2kOwpWJmzeZUSnj+FMBQEt+b4095x9BifrWEXFR64sJ5OFXqA gH5ieCZ+19tkOS85vpF/1fQedOE/7/tvu84cp7LWRlQEJFY+/qni1fyfJmBe8W6mj9fJ kTqbNsnikUTFJOd/YmEn5JElGBBIL+bw84A5bbQbRi41dxKHENymHl80WRiQowGgcrkJ XV8x9/J+rI9jBI/iHc9XNFqztHhsUWxRYP/+zxSPeiJFw1CBKcnYVEhmmJZ58vhUHuVt ivWUInsCmv4D93Gv4p2XURoTiqQlW/tjZQsd4FfY2rdxWjMYFxF7RP6UEq3qd6tazomI td4w== 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=3bReH887sZ5Pekpi8Ec27hQjF5LmNzfYNizdbEp17XE=; b=LZczKdD44WwoNrk8yILYixhd4dwYu76O4enRHVeKkzvH/3DfCJZPRt7qmQAE0lO2KJ JBlsnh65ebr94IkVrdJ9MMGqqg8244NxEKJxsVQGN+/Fhnli57meIGXHDzFpK+T6eM1V rqERqosPpKHo/FLxQjK+oaigCddLptxUWzDmzZuU21w5gEGG19jnwZ61PDqUBETb1NHV Qgw05j7h0jPkmTOtkhXCU50ju2YRpdGe/p4oX1AzWRwt7s70TtVOzlB3Gpi0zJyIDHtG LAnn4yh9QcwbpASLKD8z3msqhI+4Joenz5xYO5+FFlRJVcTzHBWb5Cb0bI/esA6ZrSp2 TDHw== X-Gm-Message-State: AOPr4FUzuLg9SPiJv2QC1ySHvxJpmzKb2ukvdItAyiWknT5S9yqVwCmqQ0iThT2VWojvTQ== X-Received: by 10.66.79.162 with SMTP id k2mr52526434pax.121.1461014069747; Mon, 18 Apr 2016 14:14:29 -0700 (PDT) Received: from dl.caveonetworks.com ([64.2.3.194]) by smtp.gmail.com with ESMTPSA id q20sm85780929pfi.63.2016.04.18.14.14.26 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 18 Apr 2016 14:14:26 -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 u3ILEPb0030849; Mon, 18 Apr 2016 14:14:25 -0700 Received: (from ddaney@localhost) by dl.caveonetworks.com (8.14.5/8.14.5/Submit) id u3ILEPc5030848; Mon, 18 Apr 2016 14:14:25 -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 v4 03/14] acpi, numa: remove duplicate NULL check Date: Mon, 18 Apr 2016 14:14:01 -0700 Message-Id: <1461014052-30788-4-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1461014052-30788-1-git-send-email-ddaney.cavm@gmail.com> References: <1461014052-30788-1-git-send-email-ddaney.cavm@gmail.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 |
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index e34b5d0..2de6068 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: {