git: 565e917b4432 - stable/13 - netmap: Remove obsolete compatibility defines
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Mar 2023 14:25:45 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=565e917b4432ac64ddf52353cbf1a35a5aafa302 commit 565e917b4432ac64ddf52353cbf1a35a5aafa302 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-03-09 23:16:53 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-03-16 14:25:33 +0000 netmap: Remove obsolete compatibility defines No functional change intended. Reviewed by: vmaffione MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39001 (cherry picked from commit 626d1e4a82e25d274cdadfebfd81a28e968efb5b) --- sys/dev/netmap/netmap_freebsd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c index 2bfb80476528..b9055d589df1 100644 --- a/sys/dev/netmap/netmap_freebsd.c +++ b/sys/dev/netmap/netmap_freebsd.c @@ -1024,11 +1024,6 @@ netmap_dev_pager_fault(vm_object_t object, vm_ooffset_t offset, * Replace the passed in reqpage page with our own fake page and * free up the all of the original pages. */ -#ifndef VM_OBJECT_WUNLOCK /* FreeBSD < 10.x */ -#define VM_OBJECT_WUNLOCK VM_OBJECT_UNLOCK -#define VM_OBJECT_WLOCK VM_OBJECT_LOCK -#endif /* VM_OBJECT_WUNLOCK */ - VM_OBJECT_WUNLOCK(object); page = vm_page_getfake(paddr, memattr); VM_OBJECT_WLOCK(object);