diff options
author | 2018-08-20 14:59:02 +0000 | |
---|---|---|
committer | 2018-08-20 14:59:02 +0000 | |
commit | 5b75427a810b4513a43989a98c8723ba39d8cabf (patch) | |
tree | cb0f80779259b773aaca8a9173e60a622d807b4a /sys/dev/pci/drm/drm_linux.c | |
parent | Fix problems with page scrolling in copy mode, GitHub issue 1440 from (diff) | |
download | wireguard-openbsd-5b75427a810b4513a43989a98c8723ba39d8cabf.tar.xz wireguard-openbsd-5b75427a810b4513a43989a98c8723ba39d8cabf.zip |
Make fnew() return a new file with only one reference. This makes
the API more logical.
OK kettenis@ mpi@
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index 667e64afee0..18ae95f3c18 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.28 2018/08/15 13:19:06 visa Exp $ */ +/* $OpenBSD: drm_linux.c,v 1.29 2018/08/20 14:59:02 visa Exp $ */ /* * Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org> * Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org> @@ -914,7 +914,6 @@ dma_buf_export(const struct dma_buf_export_info *info) dmabuf->size = info->size; dmabuf->file = fp; fp->f_data = dmabuf; - FRELE(fp, p); return dmabuf; } |