diff options
Diffstat (limited to 'drivers/char/drm/drm_ioctl.c')
-rw-r--r-- | drivers/char/drm/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c index 3cbebf868e6..b4d86a3343c 100644 --- a/drivers/char/drm/drm_ioctl.c +++ b/drivers/char/drm/drm_ioctl.c | |||
@@ -234,7 +234,7 @@ int drm_getclient(struct drm_device *dev, void *data, | |||
234 | 234 | ||
235 | idx = client->idx; | 235 | idx = client->idx; |
236 | mutex_lock(&dev->struct_mutex); | 236 | mutex_lock(&dev->struct_mutex); |
237 | 237 | ||
238 | if (list_empty(&dev->filelist)) { | 238 | if (list_empty(&dev->filelist)) { |
239 | mutex_unlock(&dev->struct_mutex); | 239 | mutex_unlock(&dev->struct_mutex); |
240 | return -EINVAL; | 240 | return -EINVAL; |