1
0
Fork 0

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: Raphael Silva <rapphil@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
hifive-unleashed-5.1
Raphael Silva 2014-10-13 15:51:34 -07:00 committed by Linus Torvalds
parent 4bad78c550
commit fec2290832
1 changed files with 1 additions and 3 deletions

View File

@ -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.