mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-10 12:20:30 +00:00
crypto: jitterentropy - remove unnecessary information from a comment
The clocksource does not provide clocksource_register() function since f893598 commit (clocksource: Mostly kill clocksource_register()), so let's remove unnecessary information about this function from a comment. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Suggested-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
22287b0b59
commit
f5128432b0
@ -98,10 +98,6 @@ void jent_get_nstime(__u64 *out)
|
||||
* If random_get_entropy does not return a value (which is possible on,
|
||||
* for example, MIPS), invoke __getnstimeofday
|
||||
* hoping that there are timers we can work with.
|
||||
*
|
||||
* The list of available timers can be obtained from
|
||||
* /sys/devices/system/clocksource/clocksource0/available_clocksource
|
||||
* and are registered with clocksource_register()
|
||||
*/
|
||||
if ((0 == tmp) &&
|
||||
(0 == __getnstimeofday(&ts))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user