Remove unused variable.

This commit is contained in:
Gleb Smirnoff 2012-01-24 14:27:14 +00:00
parent e0f1c0d777
commit 3660e7b0da

View File

@ -1178,11 +1178,8 @@ in_joingroup_locked(struct ifnet *ifp, const struct in_addr *gina,
int
in_leavegroup(struct in_multi *inm, /*const*/ struct in_mfilter *imf)
{
struct ifnet *ifp;
int error;
ifp = inm->inm_ifp;
IN_MULTI_LOCK();
error = in_leavegroup_locked(inm, imf);
IN_MULTI_UNLOCK();