summaryrefslogtreecommitdiffstats
path: root/lib/textsearch.c
diff options
context:
space:
mode:
authorRaphael Silva <rapphil@gmail.com>2014-10-13 15:51:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 02:18:14 +0200
commitfec22908323dc56ce38b835f5a67cce30fc7b6fc (patch)
treef3db16fa280cd77a68f5d3b6782e1a5059818dd2 /lib/textsearch.c
parent4bad78c550025346de3fc5820e366c7b525e1889 (diff)
downloadop-kernel-dev-fec22908323dc56ce38b835f5a67cce30fc7b6fc.zip
op-kernel-dev-fec22908323dc56ce38b835f5a67cce30fc7b6fc.tar.gz
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/textsearch.c')
-rw-r--r--lib/textsearch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c
index 0c7e9ab..0b79908 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.
OpenPOWER on IntegriCloud