From patchwork Tue Jan 14 01:58:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 3483601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C29BB9F391 for ; Tue, 14 Jan 2014 01:59:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD994200E5 for ; Tue, 14 Jan 2014 01:59:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEE75200DC for ; Tue, 14 Jan 2014 01:59:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W2tI8-0007Ut-JW; Tue, 14 Jan 2014 01:59:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W2tI6-0005Fn-7B; Tue, 14 Jan 2014 01:59:42 +0000 Received: from mail-qe0-x22a.google.com ([2607:f8b0:400d:c02::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W2tI2-0005FF-HS for linux-arm-kernel@lists.infradead.org; Tue, 14 Jan 2014 01:59:39 +0000 Received: by mail-qe0-f42.google.com with SMTP id b4so7955617qen.15 for ; Mon, 13 Jan 2014 17:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=PZ2EPwgGho3wTxw2bnJx6TL1oOeTKcbhQ7EUDv1GcvM=; b=tuD2oLS4oFTNVBFCJFhQOr/LaGBtqaJro5IanJx8HZp2Fsb0S3ib0RFgNlJyfPy2Ms eDRlVKHpTfQig1vFQ3+Rpyjo3wF1C3ZNECTTMEmxFSDXHLWkV7GVD/HFm4MmIZAwpUbv HH+vOsxrNFYEdg91NkSAknzoBeSTOa1oRLk/NB2Wyqy3QZqDeLKl+qyszlPAHX03mLVh 8sTAZ4UeZo7DH/LtPbljCKIFLujdNLI+7ADAfLmDmJWlozESyoFUsXkye0UkEmqD6xCa /3R8+lVRY1TCxuwhQQ9a829tpGZDTw7uQajsr9gD/V05R+ixcb5c6wkygLGjNWbJmbsO V+Vg== X-Received: by 10.224.147.75 with SMTP id k11mr45110389qav.22.1389664754995; Mon, 13 Jan 2014 17:59:14 -0800 (PST) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id f7sm27283510qaa.16.2014.01.13.17.59.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Jan 2014 17:59:14 -0800 (PST) From: Brian Norris To: Russel King Subject: [PATCH] ARM: pm: remove outdated comment Date: Mon, 13 Jan 2014 17:58:24 -0800 Message-Id: <1389664704-22350-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140113_205938_627001_AFA2F125 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Brian Norris , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 As of commit abda1bd5f4e04054ce083c298fcd68a743e9df03 __cpu_suspend() takes only 2 arguments, and those arguments are passed by the platform code. This comment thus makes no sense, as cpu_suspend() is not actually hiding any arguments. Signed-off-by: Brian Norris --- arch/arm/kernel/suspend.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/kernel/suspend.c b/arch/arm/kernel/suspend.c index 2835d35234ca..9a2f882a0a2d 100644 --- a/arch/arm/kernel/suspend.c +++ b/arch/arm/kernel/suspend.c @@ -14,10 +14,6 @@ extern int __cpu_suspend(unsigned long, int (*)(unsigned long), u32 cpuid); extern void cpu_resume_mmu(void); #ifdef CONFIG_MMU -/* - * Hide the first two arguments to __cpu_suspend - these are an implementation - * detail which platform code shouldn't have to know about. - */ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) { struct mm_struct *mm = current->active_mm;