summaryrefslogtreecommitdiff
path: root/bsd-core/drm_os_netbsd.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-26 23:55:30 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-26 23:55:30 +0000
commit9828bd24c8f7b9d115acf94e422fa34ec8627b92 (patch)
treecafaddcf42301d5ae9f853c205224c6d5c76ca2f /bsd-core/drm_os_netbsd.h
parent766a1da2e5841959246abab9cf27c79d75636129 (diff)
Fix formatting of hw.dri sysctl.
Diffstat (limited to 'bsd-core/drm_os_netbsd.h')
-rw-r--r--bsd-core/drm_os_netbsd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/bsd-core/drm_os_netbsd.h b/bsd-core/drm_os_netbsd.h
index 246ebdc6..a0c4f78f 100644
--- a/bsd-core/drm_os_netbsd.h
+++ b/bsd-core/drm_os_netbsd.h
@@ -321,11 +321,6 @@ do { \
error = SYSCTL_OUT(req, buf, strlen(buf)); \
if (error) return error;
-#define DRM_SYSCTL_PRINT_RET(ret, fmt, arg...) \
- snprintf(buf, sizeof(buf), fmt, ##arg); \
- error = SYSCTL_OUT(req, buf, strlen(buf)); \
- if (error) { ret; return error; }
-
#define DRM_FIND_MAP(dest, o) \
do { \