From fec22908323dc56ce38b835f5a67cce30fc7b6fc Mon Sep 17 00:00:00 2001
From: Raphael Silva <rapphil@gmail.com>
Date: Mon, 13 Oct 2014 15:51:34 -0700
Subject: [PATCH] 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>
---
 lib/textsearch.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/textsearch.c b/lib/textsearch.c
index 0c7e9ab2d88f7..0b79908dfe892 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.
-- 
GitLab