Skip to content
Snippets Groups Projects
Commit fec22908 authored by Raphael Silva's avatar Raphael Silva Committed by Linus Torvalds
Browse files

lib/textsearch.c: remove textsearch_put reference from comments


There is no textsearch_put().  Remove it from the comments to avoid
misunderstanding.  Textsearch prepare no longer needs textsearch_put().

Signed-off-by: default avatarRaphael Silva <rapphil@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4bad78c5
No related branches found
No related tags found
No related merge requests found
...@@ -249,9 +249,7 @@ EXPORT_SYMBOL(textsearch_find_continuous); ...@@ -249,9 +249,7 @@ EXPORT_SYMBOL(textsearch_find_continuous);
* @flags: search flags * @flags: search flags
* *
* Looks up the search algorithm module and creates a new textsearch * Looks up the search algorithm module and creates a new textsearch
* configuration for the specified pattern. Upon completion all * configuration for the specified pattern.
* necessary refcnts are held and the configuration must be put back
* using textsearch_put() after usage.
* *
* Note: The format of the pattern may not be compatible between * Note: The format of the pattern may not be compatible between
* the various search algorithms. * the various search algorithms.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment