diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_channel.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_channel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c index 06555c7cde50..53daeba4581e 100644 --- a/drivers/gpu/drm/nouveau/nouveau_channel.c +++ b/drivers/gpu/drm/nouveau/nouveau_channel.c | |||
@@ -369,8 +369,6 @@ nouveau_ioctl_fifo_alloc(struct drm_device *dev, void *data, | |||
369 | struct nouveau_channel *chan; | 369 | struct nouveau_channel *chan; |
370 | int ret; | 370 | int ret; |
371 | 371 | ||
372 | NOUVEAU_CHECK_INITIALISED_WITH_RETURN; | ||
373 | |||
374 | if (dev_priv->engine.graph.accel_blocked) | 372 | if (dev_priv->engine.graph.accel_blocked) |
375 | return -ENODEV; | 373 | return -ENODEV; |
376 | 374 | ||
@@ -419,7 +417,6 @@ nouveau_ioctl_fifo_free(struct drm_device *dev, void *data, | |||
419 | struct drm_nouveau_channel_free *cfree = data; | 417 | struct drm_nouveau_channel_free *cfree = data; |
420 | struct nouveau_channel *chan; | 418 | struct nouveau_channel *chan; |
421 | 419 | ||
422 | NOUVEAU_CHECK_INITIALISED_WITH_RETURN; | ||
423 | NOUVEAU_GET_USER_CHANNEL_WITH_RETURN(cfree->channel, file_priv, chan); | 420 | NOUVEAU_GET_USER_CHANNEL_WITH_RETURN(cfree->channel, file_priv, chan); |
424 | 421 | ||
425 | nouveau_channel_free(chan); | 422 | nouveau_channel_free(chan); |