]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_osf: remove unused variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 23 Feb 2016 08:10:10 +0000 (13:40 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Feb 2016 12:59:43 +0000 (13:59 +0100)
commit7cf9d2b614d14a01e26c58153269c2f295e5358a
treec5a24c8f105c2b1a76f47172038ce1e14824f1bb
parenta59eaba8e25867e4278c584663161ca41094a743
netfilter: xt_osf: remove unused variable

While building with W=1 we got the warning:
net/netfilter/xt_osf.c:265:9: warning: variable 'loop_cont' set but not used

The local variable loop_cont was only initialized and then assigned a
value but was never used or checked after that.
While removing the variable, the case of OSFOPT_TS was not removed so
that it will serve as a reminder to us that we can do something in that
particular case.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_osf.c