Patch "MIPS: ralink: Remove unused timer functions" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
MIPS: ralink: Remove unused timer functions
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mips-ralink-remove-unused-timer-functions.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
d92240d12a9c010e0094bbc9280aae4a6be9a2d5Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <[email protected]>
Date: Tue, 17 Jan 2017 16:18:41 +0100
Subject: MIPS: ralink: Remove unused timer functions
From: Arnd Bergmann <[email protected]>
commit d92240d12a9c010e0094bbc9280aae4a6be9a2d5 upstream.
The functions were originally used for the module unload path, but are not referenced any more and just cause warnings:
arch/mips/ralink/timer.c:104:13: error: 'rt_timer_disable' defined but not used [-Werror=unused-function] arch/mips/ralink/timer.c:74:13: error: 'rt_timer_free' defined but not used [-Werror=unused-function]
Patchwork: https://patchwork.linux-mips.org/patch/15041/
--- arch/mips/ralink/timer.c | 14 -------------- 1 file changed, 14 deletions(-)
arch/mips/ralink/timer.c +0 -14
@@ -69,11 +69,6 @@ static int rt_timer_request(struct rt_tireturn err; } -static void rt_timer_free (struct rt_timer *rt) -{ -free_irq (rt->irq, rt); -} -static int rt_timer_config (struct rt_timer *rt,unsigned long divisor) {if (rt->timer_freq < divisor)
@@ -99,15 +94,6 @@ static int rt_timer_enable(struct rt_timreturn 0 ; } -static void rt_timer_disable (struct rt_timer *rt) -{ -u32 t; - - t =rt_timer_r32 (rt,TIMER_REG_TMR0CTL ); - t &= ~TMR0CTL_ENABLE ; -rt_timer_w32 (rt,TIMER_REG_TMR0CTL , t); -} -static int rt_timer_probe (struct platform_device *pdev) {struct resource *res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/mips-ip27-disable-qlge-driver-in-defconfig.patch queue-4.4/mips-update-ip27_defconfig-for-scsi_dh-change.patch queue-4.4/mtd-pmcmsp-use-kstrndup-instead-of-kmalloc-strncpy.patch queue-4.4/cpmac-remove-hopeless-warning.patch queue-4.4/mm-memcontrol-avoid-unused-function-warning.patch queue-4.4/mips-ip22-fix-ip28-build-for-modern-gcc.patch queue-4.4/mips-update-lemote2f_defconfig-for-cpu_freq_stat-change.patch queue-4.4/crypto-improve-gcc-optimization-flags-for-serpent-and-wp512.patch queue-4.4/mips-ralink-remove-unused-rt-_wdt_reset-functions.patch queue-4.4/mips-ralink-remove-unused-timer-functions.patch queue-4.4/mips-update-defconfigs-for-nf_ct_proto_dccp-udplite-change.patch