net: Remove state argument from skb_find_text()
authorBojan Prtvar <prtvar.b@gmail.com>
Sun, 22 Feb 2015 10:46:35 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Feb 2015 20:59:54 +0000 (15:59 -0500)
commit059a2440fd3cf4ec57735db2c0a90401cde84fca
treeae1cc62a03192b53b6d4c1eb14b50d534b385797
parentd340c862e760815bca2f2a4d8fd91dff4646a955
net: Remove state argument from skb_find_text()

Although it is clear that textsearch state is intentionally passed to
skb_find_text() as uninitialized argument, it was never used by the
callers. Therefore, we can simplify skb_find_text() by making it
local variable.

Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/netfilter/nf_conntrack_amanda.c
net/netfilter/xt_string.c
net/sched/em_text.c