From patchwork Thu Jan 23 07:12:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yijing Wang X-Patchwork-Id: 3526891 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3F73C02DC for ; Thu, 23 Jan 2014 07:30:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 329972017E for ; Thu, 23 Jan 2014 07:30:02 +0000 (UTC) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7B3420179 for ; Thu, 23 Jan 2014 07:30:00 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0N7SsJW003467; Thu, 23 Jan 2014 01:28:54 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0N7SpGY014047; Thu, 23 Jan 2014 01:28:54 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Thu, 23 Jan 2014 01:28:52 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0N7SoUo031479; Thu, 23 Jan 2014 01:28:51 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id B46698062B; Thu, 23 Jan 2014 01:28:49 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv84.itg.ti.com (dlelxv84.itg.ti.com [172.17.0.246]) by linux.omap.com (Postfix) with ESMTP id D072E80626 for ; Thu, 23 Jan 2014 01:15:02 -0600 (CST) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dlelxv84.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0N7F2vF002400 for ; Thu, 23 Jan 2014 01:15:02 -0600 Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0N7F2eK000379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 Jan 2014 01:15:02 -0600 Received: from [216.82.250.83:49957] by server-12.bemta-12.messagelabs.com id 8E/6D-28219-671C0E25; Thu, 23 Jan 2014 07:15:02 +0000 X-Env-Sender: wangyijing@huawei.com X-Msg-Ref: server-3.tower-120.messagelabs.com!1390461289!11397394!1 X-Originating-IP: [119.145.14.65] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTE5LjE0NS4xNC42NSA9PiA3NzQ2Mw==\n X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 7033 invoked from network); 23 Jan 2014 07:15:00 -0000 Received: from szxga02-in.huawei.com (HELO szxga02-in.huawei.com) (119.145.14.65) by server-3.tower-120.messagelabs.com with RC4-SHA encrypted SMTP; 23 Jan 2014 07:15:00 -0000 Received: from 172.24.2.119 (EHLO szxeml211-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BOZ57184; Thu, 23 Jan 2014 15:14:02 +0800 (CST) Received: from SZXEML413-HUB.china.huawei.com (10.82.67.152) by szxeml211-edg.china.huawei.com (172.24.2.182) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 23 Jan 2014 15:12:54 +0800 Received: from localhost (10.177.27.212) by szxeml413-hub.china.huawei.com (10.82.67.152) with Microsoft SMTP Server id 14.3.158.1; Thu, 23 Jan 2014 15:12:46 +0800 From: Yijing Wang To: John Stultz , Thomas Gleixner Subject: [PATCH 1/2] clocksource: Remove outdated comments Date: Thu, 23 Jan 2014 15:12:27 +0800 Message-ID: <1390461147-36256-1-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 1.7.11.msysgit.1 MIME-Version: 1.0 X-Originating-IP: [10.177.27.212] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 23 Jan 2014 01:28:46 -0600 CC: , Kevin Hilman , Benjamin Herrenschmidt , , Hanjun Guo , Paul Mackerras , "H. Peter Anvin" , Yijing Wang , Daniel Walker , Hans-Christian Egtvedt , Jonas Bonn , Kukjin Kim , Russell King , Richard Weinberger , , Tony Lindgren , Ingo Molnar , , David Brown , Haavard Skinnemoen , Mike Frysinger , , Nicolas Ferre , Jeff Dike , Barry Song , , , , , , Michal Simek , Jim Cromie , , , Ralf Baechle , Tony Prisk , Bryan Huntsman , , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 clocksource_register() and __clocksource_register_scale() always return 0, so the comment is just pointless, it's outdated, remove it. Signed-off-by: Yijing Wang --- kernel/time/clocksource.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index ba3e502..9951575 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -779,8 +779,6 @@ EXPORT_SYMBOL_GPL(__clocksource_updatefreq_scale); * @scale: Scale factor multiplied against freq to get clocksource hz * @freq: clocksource frequency (cycles per second) divided by scale * - * Returns -EBUSY if registration fails, zero otherwise. - * * This *SHOULD NOT* be called directly! Please use the * clocksource_register_hz() or clocksource_register_khz helper functions. */ @@ -805,7 +803,6 @@ EXPORT_SYMBOL_GPL(__clocksource_register_scale); * clocksource_register - Used to install new clocksources * @cs: clocksource to be registered * - * Returns -EBUSY if registration fails, zero otherwise. */ int clocksource_register(struct clocksource *cs) {