Forgot to remove the old g_malloc() call when I split it.

Spotted by:	dima
This commit is contained in:
phk 2002-03-17 07:00:39 +00:00
parent 6c08146ae0
commit 093fe76cad

View File

@ -65,8 +65,6 @@ g_slice_init(unsigned nslice, unsigned scsize)
{
struct g_slicer *gsp;
gsp = g_malloc(sizeof *gsp + nslice * sizeof(struct g_slice) + scsize,
M_WAITOK | M_ZERO);
gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO);
gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO);
gsp->slices = g_malloc(nslice * sizeof(struct g_slice), M_WAITOK | M_ZERO);