Remove unused (and ifdef'd) unp_abort() and unp_drain().

MFC after:	1 month
This commit is contained in:
Robert Watson 2006-06-16 22:11:49 +00:00
parent c3e7da2b4c
commit 9a44cbf19c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159672

View File

@ -1039,16 +1039,6 @@ unp_disconnect(struct unpcb *unp)
}
}
#ifdef notdef
void
unp_abort(struct unpcb *unp)
{
unp_detach(unp);
UNP_UNLOCK_ASSERT();
}
#endif
/*
* unp_pcblist() assumes that UNIX domain socket memory is never reclaimed
* by the zone (UMA_ZONE_NOFREE), and as such potentially stale pointers
@ -1190,14 +1180,6 @@ unp_drop(struct unpcb *unp, int errno)
unp_disconnect(unp);
}
#ifdef notdef
void
unp_drain(void)
{
}
#endif
static void
unp_freerights(struct file **rp, int fdcount)
{