Date: Wed, 24 Jul 2013 08:02:57 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253596 - head/sys/kern Message-ID: <201307240802.r6O82v5p068310@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Wed Jul 24 08:02:56 2013 New Revision: 253596 URL: http://svnweb.freebsd.org/changeset/base/253596 Log: Remove unused argument from vmem_add1(). Reviewed by: jeff Modified: head/sys/kern/subr_vmem.c Modified: head/sys/kern/subr_vmem.c ============================================================================== --- head/sys/kern/subr_vmem.c Wed Jul 24 07:48:08 2013 (r253595) +++ head/sys/kern/subr_vmem.c Wed Jul 24 08:02:56 2013 (r253596) @@ -650,7 +650,7 @@ vmem_start_callout(void *unused) SYSINIT(vfs, SI_SUB_CONFIGURE, SI_ORDER_ANY, vmem_start_callout, NULL); static void -vmem_add1(vmem_t *vm, vmem_addr_t addr, vmem_size_t size, int flags, int type) +vmem_add1(vmem_t *vm, vmem_addr_t addr, vmem_size_t size, int type) { bt_t *btspan; bt_t *btfree; @@ -726,7 +726,7 @@ vmem_import(vmem_t *vm, vmem_size_t size if (error) return ENOMEM; - vmem_add1(vm, addr, size, flags, BT_TYPE_SPAN); + vmem_add1(vm, addr, size, BT_TYPE_SPAN); return 0; } @@ -1176,7 +1176,7 @@ vmem_add(vmem_t *vm, vmem_addr_t addr, v flags &= VMEM_FLAGS; VMEM_LOCK(vm); if (vm->vm_nfreetags >= BT_MAXALLOC || bt_fill(vm, flags) == 0) - vmem_add1(vm, addr, size, flags, BT_TYPE_SPAN_STATIC); + vmem_add1(vm, addr, size, BT_TYPE_SPAN_STATIC); else error = ENOMEM; VMEM_UNLOCK(vm);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307240802.r6O82v5p068310>