libxt_recent: remove unused variable

Submitted by Eldad Zack on July 4, 2012, 9:53 p.m.

Details

Message ID 1341438834-24509-1-git-send-email-eldad@fogrefinery.com
State Accepted
Headers show

Commit Message

Eldad Zack July 4, 2012, 9:53 p.m.
The info variable is assigned but never read in recent_check().

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
---
 extensions/libxt_recent.c |    2 --
 1 file changed, 2 deletions(-)

Comments

Pablo Neira July 14, 2012, 1:55 p.m.
On Wed, Jul 04, 2012 at 11:53:54PM +0200, Eldad Zack wrote:
> The info variable is assigned but never read in recent_check().

Applied, thanks Eldad.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c
index c7dce4e..3dcb41d 100644
--- a/extensions/libxt_recent.c
+++ b/extensions/libxt_recent.c
@@ -131,8 +131,6 @@  static void recent_parse(struct xt_option_call *cb)
 
 static void recent_check(struct xt_fcheck_call *cb)
 {
-	struct xt_recent_mtinfo *info = cb->data;
-
 	if (!(cb->xflags & F_ANY_OP))
 		xtables_error(PARAMETER_PROBLEM,
 			"recent: you must specify one of `--set', `--rcheck' "