From 038263c36a74bb1ad5ccbf0dce9c2b66639c71bb Mon Sep 17 00:00:00 2001 From: "Alexander V. Chernikov" Date: Tue, 4 Nov 2014 10:25:52 +0000 Subject: [PATCH] Remove unused variable. Found by: Coverity CID: 1245739 --- sys/netpfil/ipfw/ip_fw_table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netpfil/ipfw/ip_fw_table.c b/sys/netpfil/ipfw/ip_fw_table.c index 045ca27b4ec..5dc8ddab0e2 100644 --- a/sys/netpfil/ipfw/ip_fw_table.c +++ b/sys/netpfil/ipfw/ip_fw_table.c @@ -1824,7 +1824,6 @@ create_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, char *tname, *aname; struct tid_info ti; struct namedobj_instance *ni; - struct table_config *tc; if (sd->valsize != sizeof(*oh) + sizeof(ipfw_xtable_info)) return (EINVAL); @@ -1853,7 +1852,7 @@ create_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, ni = CHAIN_TO_NI(ch); IPFW_UH_RLOCK(ch); - if ((tc = find_table(ni, &ti)) != NULL) { + if (find_table(ni, &ti) != NULL) { IPFW_UH_RUNLOCK(ch); return (EEXIST); }