Message ID | 1461780436-27182-4-git-send-email-ddaney.cavm@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <linux-acpi-owner@kernel.org> X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA7B49F1C1 for <patchwork-linux-acpi@patchwork.kernel.org>; Wed, 27 Apr 2016 18:12:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD7B520225 for <patchwork-linux-acpi@patchwork.kernel.org>; Wed, 27 Apr 2016 18:12:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18E0A2015A for <patchwork-linux-acpi@patchwork.kernel.org>; Wed, 27 Apr 2016 18:12:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753833AbcD0SMM (ORCPT <rfc822;patchwork-linux-acpi@patchwork.kernel.org>); Wed, 27 Apr 2016 14:12:12 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34013 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753271AbcD0SHf (ORCPT <rfc822; linux-acpi@vger.kernel.org>); Wed, 27 Apr 2016 14:07:35 -0400 Received: by mail-pa0-f65.google.com with SMTP id yl2so5678262pac.1; Wed, 27 Apr 2016 11:07:35 -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=InEZD0xnXMMc0pgCJXIWEo14Rq2vRPZb6hYA/ZNuHwlGh6c40W+NlYlrCbJnIGW+gr Qgaxxg0p1si+HOD/Im0eONEaeFd451C89yGTOLyJFR8xaK+vt/R/165H5SqwE0AzT/7g 4DkWw+fMAD9x3AB/+MC5B7Ar5Ikd5iMCRcGpf0qVFLH4VspuGgN1E6RQ88MHFMpA1i9g KHw4s13pkiwAHn6HcmyRvJwkDoh+RgH0JXMjIA+GZd9DBuDER6pVtNhbbl3xVuJg0vDV ga4rirCB4O4e6GyEJm0oARkdBIN/Ss1DkzTui/JADF19z/o+K0y3JWTfksgD7mK9m8ng MvYg== 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=h3ZHcFvulZM8R9FponUqobQ38Ndy97QUStU42yWZirOV8pnxx6BMVdoEuKmfVX0rqh kiJnINbKGe3e09p2K3WQEeUb+Pd54MqyToOh0xmlAlL7h7PA0y6sK6Oe7zaiJ+1IKh9v PA5Q/c8UxG/4qm4MUXxTcfts8k6+FkX/3wUrY2ZPttCWuyjFFG2l5H/Ux7TMJjVE1xEo i05bfeByAVDQY8bRYVQKI8mmGEixOUjHqaKXx5pCOVUPFWVSQbA8EpncL+MTVz/VVtoS eQhwiX9n2i9kOBNEOC151WZ+rTyVmDVFySi94zYhEOs+T1ld9PBBI2mTNHKG/ugvToeL Ditw== X-Gm-Message-State: AOPr4FXk3EnzJaXoPqdDDNzhJT//zqpjXb0WakzyVrsenBVs8gz3MX4ZerSl0JIZYvn59w== X-Received: by 10.66.228.201 with SMTP id sk9mr14087763pac.5.1461780454836; Wed, 27 Apr 2016 11:07:34 -0700 (PDT) Received: from dl.caveonetworks.com ([64.2.3.194]) by smtp.gmail.com with ESMTPSA id h5sm15287017pat.0.2016.04.27.11.07.30 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 27 Apr 2016 11:07:32 -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 u3RI7TOQ027243; Wed, 27 Apr 2016 11:07:29 -0700 Received: (from ddaney@localhost) by dl.caveonetworks.com (8.14.5/8.14.5/Submit) id u3RI7Tdl027242; Wed, 27 Apr 2016 11:07:29 -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 v6 03/14] acpi, numa: remove duplicate NULL check Date: Wed, 27 Apr 2016 11:07:05 -0700 Message-Id: <1461780436-27182-4-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1461780436-27182-1-git-send-email-ddaney.cavm@gmail.com> References: <1461780436-27182-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-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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: {