From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752683AbdBJKnt (ORCPT ); Fri, 10 Feb 2017 05:43:49 -0500 Received: from terminus.zytor.com ([65.50.211.136]:58354 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187AbdBJKnp (ORCPT ); Fri, 10 Feb 2017 05:43:45 -0500 Date: Fri, 10 Feb 2017 02:19:22 -0800 From: tip-bot for Mars Cheng Message-ID: Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org, jades.shih@mediatek.com, tglx@linutronix.de, loda.chou@mediatek.com, mars.cheng@mediatek.com, yingjoe.chen@mediatek.com, miles.chen@mediatek.com, my.chuang@mediatek.com, mingo@kernel.org, hpa@zytor.com, cc.hwang@mediatek.com, matthias.bgg@gmail.com Reply-To: yingjoe.chen@mediatek.com, mars.cheng@mediatek.com, miles.chen@mediatek.com, my.chuang@mediatek.com, mingo@kernel.org, hpa@zytor.com, cc.hwang@mediatek.com, matthias.bgg@gmail.com, john.stultz@linaro.org, linux-kernel@vger.kernel.org, jades.shih@mediatek.com, tglx@linutronix.de, loda.chou@mediatek.com In-Reply-To: <1486626615-5879-1-git-send-email-mars.cheng@mediatek.com> References: <1486626615-5879-1-git-send-email-mars.cheng@mediatek.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] timer_list: Remove useless cast when printing Git-Commit-ID: 7551b02b94ad1daee3a79d667dc3c46d08328f87 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 7551b02b94ad1daee3a79d667dc3c46d08328f87 Gitweb: http://git.kernel.org/tip/7551b02b94ad1daee3a79d667dc3c46d08328f87 Author: Mars Cheng AuthorDate: Thu, 9 Feb 2017 15:50:15 +0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 11:15:08 +0100 timer_list: Remove useless cast when printing hrtimer_resolution is already unsigned int, not necessary to cast it when printing. Signed-off-by: Mars Cheng Cc: CC Hwang Cc: wsd_upstream@mediatek.com Cc: Loda Chou Cc: Jades Shih Cc: Miles Chen Cc: John Stultz Cc: My Chuang Cc: Matthias Brugger Cc: Yingjoe Chen Link: http://lkml.kernel.org/r/1486626615-5879-1-git-send-email-mars.cheng@mediatek.com Signed-off-by: Thomas Gleixner --- kernel/time/timer_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index 387a3a5..ff8d5c1 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -117,7 +117,7 @@ print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) SEQ_printf(m, " .base: %pK\n", base); SEQ_printf(m, " .index: %d\n", base->index); - SEQ_printf(m, " .resolution: %u nsecs\n", (unsigned) hrtimer_resolution); + SEQ_printf(m, " .resolution: %u nsecs\n", hrtimer_resolution); SEQ_printf(m, " .get_time: "); print_name_offset(m, base->get_time);