OSDN Git Service

staging: rtl8712: cleanup of timeout conversions
authorNicholas Mc Guire <der.herr@hofr.at>
Sat, 31 Jan 2015 10:51:54 +0000 (11:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:24:11 +0000 (17:24 +0800)
commit7dfb6d2ec4547a6fd83571f6beeee47db9184847
tree7c3f48eefd3058cc22eacd68c81b4690ab113ced
parent509031dd5f5ae008ef5d4d04226ce63ca8c84354
staging: rtl8712: cleanup of timeout conversions

This is only an API consolidation to make things more readable.
Instances of  var * HZ / 1000  are replaced by  msecs_to_jiffies(var).
As msecs_to_jiffies will return > 0 if it is passed a value > 0 the
== 0 check is not needed.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/osdep_service.h