Skip to contentSkip to conversation

crypto/jitterentropy-kcapi: remove unnecessary information from a comment

PATCH In review Alexander Kuleshov 2 participants 2 messages Oct 8, 2015 – Oct 14, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 crypto/jitterentropy-kcapi: 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.

---
 crypto/jitterentropy-kcapi.c | 4 ----
 1 file changed, 4 deletions(-)
crypto/jitterentropy-kcapi.c +0 -4
index ceea83d..597cedd 100644
@@ -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))) {
Signature · 1 line
2.6.0
maintainer
#1 lore raw
Quoted 6 lines · Alexander Kuleshov

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.

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt