summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat/opensolaris
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2015-01-20 22:27:45 +0000
committerwill <will@FreeBSD.org>2015-01-20 22:27:45 +0000
commit4bd09b7583b8b79b6d771f1449dcf6131a1a6738 (patch)
treeb8745db89235e5db860816b1e3df16ea06a32bb0 /sys/cddl/compat/opensolaris
parent1fb64f35de7dc5faa60161e28b19621b3a515296 (diff)
downloadFreeBSD-src-4bd09b7583b8b79b6d771f1449dcf6131a1a6738.zip
FreeBSD-src-4bd09b7583b8b79b6d771f1449dcf6131a1a6738.tar.gz
Remove unused strdup() #define.
Diffstat (limited to 'sys/cddl/compat/opensolaris')
-rw-r--r--sys/cddl/compat/opensolaris/sys/sunddi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/sunddi.h b/sys/cddl/compat/opensolaris/sys/sunddi.h
index 63b8a89..3a493b7 100644
--- a/sys/cddl/compat/opensolaris/sys/sunddi.h
+++ b/sys/cddl/compat/opensolaris/sys/sunddi.h
@@ -35,7 +35,6 @@
#include <sys/libkern.h>
#include <sys/sysevent.h>
-#define strdup(ptr) strdup((ptr), M_SOLARIS)
#define ddi_driver_major(zfs_dip) (0)
#define ddi_copyin(from, to, size, flag) \
(copyin((from), (to), (size)), 0)
OpenPOWER on IntegriCloud