diff options
Diffstat (limited to 'lib/idr.c')
-rw-r--r-- | lib/idr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -625,7 +625,7 @@ static void __idr_remove_all(struct idr *idp) | |||
625 | * idr_destroy(). | 625 | * idr_destroy(). |
626 | * | 626 | * |
627 | * A typical clean-up sequence for objects stored in an idr tree will use | 627 | * A typical clean-up sequence for objects stored in an idr tree will use |
628 | * idr_for_each() to free all objects, if necessay, then idr_destroy() to | 628 | * idr_for_each() to free all objects, if necessary, then idr_destroy() to |
629 | * free up the id mappings and cached idr_layers. | 629 | * free up the id mappings and cached idr_layers. |
630 | */ | 630 | */ |
631 | void idr_destroy(struct idr *idp) | 631 | void idr_destroy(struct idr *idp) |