artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a163f57
)
remove unused variable
author
jsg
<jsg@openbsd.org>
Tue, 1 Oct 2024 06:46:19 +0000
(06:46 +0000)
committer
jsg
<jsg@openbsd.org>
Tue, 1 Oct 2024 06:46:19 +0000
(06:46 +0000)
sys/dev/pci/drm/drm_drv.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_drv.c
b/sys/dev/pci/drm/drm_drv.c
index
53352d6
..
6113fda
100644
(file)
--- a/
sys/dev/pci/drm/drm_drv.c
+++ b/
sys/dev/pci/drm/drm_drv.c
@@
-201,7
+201,7
@@
static void drm_minor_alloc_release(struct drm_device *dev, void *data)
static int drm_minor_alloc(struct drm_device *dev, enum drm_minor_type type)
{
struct drm_minor *minor;
- int
index,
r;
+ int r;
minor = drmm_kzalloc(dev, sizeof(*minor), GFP_KERNEL);
if (!minor)