#include #include #include "timer.h" void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec, unsigned long usec) { itimer->it_interval.tv_sec = sec; itimer->it_interval.tv_usec = usec; itimer->it_value.tv_sec = sec; itimer->it_value.tv_usec = usec; } int get_user_hz(void) { return sysconf(_SC_CLK_TCK); } private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-08 22:24:19 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-09 16:59:57 -0500
commit15c2e102412d95af4fe88e5b28b3eba124545bbf (patch)
tree10d22782e23395f24862af66d0e2af980df09258 /arch
parent2cbf5b4212b1595449548f189a8fb2df0b25a03f (diff)
ARM: orion: remove unused wnr854t_switch_plat_data
The other instances of this structure got removed along with the MDIO device change, but this one was left behind and needs to be removed as well: arch/arm/mach-orion5x/wnr854t-setup.c:109:44: error: 'wnr854t_switch_plat_data' defined but not used [-Werror=unused-variable] static struct dsa_platform_data __initdata wnr854t_switch_plat_data = { Fixes: 575e93f7b5e6 ("ARM: orion: Register DSA switch as a MDIO device") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')