summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaphael Silva <rapphil@gmail.com>2014-10-14 02:51:34 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 04:18:14 +0400
commitfec22908323dc56ce38b835f5a67cce30fc7b6fc (patch)
treef3db16fa280cd77a68f5d3b6782e1a5059818dd2 /lib
parent4bad78c550025346de3fc5820e366c7b525e1889 (diff)
downloadlinux-fec22908323dc56ce38b835f5a67cce30fc7b6fc.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/textsearch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c
index 0c7e9ab2d88f..0b79908dfe89 100644
--- a/lib/textsearch.c
+++ b/lib/textsearch.c
@@ -249,9 +249,7 @@ EXPORT_SYMBOL(textsearch_find_continuous);
* @flags: search flags
*
* Looks up the search algorithm module and creates a new textsearch
- * configuration for the specified pattern. Upon completion all
- * necessary refcnts are held and the configuration must be put back
- * using textsearch_put() after usage.
+ * configuration for the specified pattern.
*
* Note: The format of the pattern may not be compatible between
* the various search algorithms.