staging: unisys: use msecs_to_jiffies for conversions
This is only an API consolidation to make things more readable. Instances of var * HZ / 1000 are replaced by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1bdee70635
commit
2cc1a1b3ee
@ -1594,7 +1594,7 @@ parahotplug_next_id(void)
|
|||||||
static unsigned long
|
static unsigned long
|
||||||
parahotplug_next_expiration(void)
|
parahotplug_next_expiration(void)
|
||||||
{
|
{
|
||||||
return jiffies + PARAHOTPLUG_TIMEOUT_MS * HZ / 1000;
|
return jiffies + msecs_to_jiffies(PARAHOTPLUG_TIMEOUT_MS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user