From patchwork Sat Aug 31 10:16:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 19655 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50DB225E41 for ; Sat, 31 Aug 2013 10:21:16 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf3245584vea.5 for ; Sat, 31 Aug 2013 03:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=pmWjFxfF5m60NJA0XPxRTBQGDza0rc94P0nknyhoncg=; b=SfCazD1Hka39qgjopqy3dnyyHhSp/iliShY6jXeNFA2LJETfc5Z83qD3iPsRZd/ybP xAfftX0F0EDdnH3qShiWUy4XpbBmRfNUHpGxb7V/OWtejCZpXxlmN3E6i09nn12sTWdI /XfaNMFFbAKo3UGT90VSY4yQSLCtzUtcwCU9ZaJMTs49iLoV6H/GzzEN4v8fz+VQPxnL xyewNaCktXqng+5ykFUZ1Y4WFluQYH/aHk9j+URaSnfEFrmp2qjDpRfD7ix7EMQ0vVW0 2JnkXYWpOdxAsFCoXpAetysRwjMKGV6v2NRzb3HftgnBgrI0O8ziAWoMIUL+lbwGw+Wb PWpw== X-Received: by 10.236.18.196 with SMTP id l44mr37378yhl.52.1377944476117; Sat, 31 Aug 2013 03:21:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.30.35 with SMTP id p3ls1639539qeh.97.gmail; Sat, 31 Aug 2013 03:21:16 -0700 (PDT) X-Received: by 10.52.165.45 with SMTP id yv13mr9990861vdb.1.1377944475989; Sat, 31 Aug 2013 03:21:15 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id wk9si694388vdb.94.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 Aug 2013 03:21:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id gf12so1910791vcb.36 for ; Sat, 31 Aug 2013 03:21:15 -0700 (PDT) X-Gm-Message-State: ALoCoQn4u+0fGrYDtODwZMrkf13+2pMT9UFl7jII/UTV9mpjzygjzqb2IIeu+hz5tWoWaek0y8hX X-Received: by 10.58.201.227 with SMTP id kd3mr12897046vec.14.1377944475904; Sat, 31 Aug 2013 03:21:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp16105vcz; Sat, 31 Aug 2013 03:21:15 -0700 (PDT) X-Received: by 10.68.217.225 with SMTP id pb1mr14782973pbc.61.1377944475001; Sat, 31 Aug 2013 03:21:15 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id hk5si2449509pac.125.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 Aug 2013 03:21:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id y10so2837151pdj.22 for ; Sat, 31 Aug 2013 03:21:14 -0700 (PDT) X-Received: by 10.68.171.165 with SMTP id av5mr14930283pbc.18.1377944474632; Sat, 31 Aug 2013 03:21:14 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id fl3sm3699660pad.10.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 31 Aug 2013 03:21:13 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: Thomas Gleixner , Tony Luck , Ingo Molnar , linux-acpi@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 6/6] ACPI / processor: Remove outdated comments Date: Sat, 31 Aug 2013 18:16:01 +0800 Message-Id: <1377944162-18574-6-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377944162-18574-1-git-send-email-hanjun.guo@linaro.org> References: <1377944162-18574-1-git-send-email-hanjun.guo@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , acpi_get_processor_id() can be find nowhere, and the acpi id is synchronized to APIC id when acpi_get_cpuid() is called, so the comments can be removed. Signed-off-by: Hanjun Guo --- drivers/acpi/acpi_processor.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c index d1cabe5..fa2412e 100644 --- a/drivers/acpi/acpi_processor.c +++ b/drivers/acpi/acpi_processor.c @@ -240,11 +240,6 @@ static int acpi_processor_get_info(struct acpi_device *device) return -ENODEV; } - /* - * TBD: Synch processor ID (via LAPIC/LSAPIC structures) on SMP. - * >>> 'acpi_get_processor_id(acpi_id, &id)' in - * arch/xxx/acpi.c - */ pr->acpi_id = object.processor.proc_id; } else { /*