diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2017-01-19 10:57:00 -0800 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-01-26 20:52:27 -0800 |
commit | f08c86c30e967b8dd37060b66046667790cc9995 (patch) | |
tree | eeb632fdd396726c6934740a7bda0691e2673664 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | |
parent | 8cd9f2514711019c0a5f99b8c8547d255d85c3f0 (diff) | |
download | linux-f08c86c30e967b8dd37060b66046667790cc9995.tar.gz linux-f08c86c30e967b8dd37060b66046667790cc9995.tar.xz |
drm/vmwgfx: Annotate ignored return values
Cast return values to void since they, based on input arguments,
are known to be zero.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index be35385bb26c..541a5887dd6c 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -1293,7 +1293,7 @@ static void __vmw_svga_enable(struct vmw_private *dev_priv) */ void vmw_svga_enable(struct vmw_private *dev_priv) { - ttm_read_lock(&dev_priv->reservation_sem, false); + (void) ttm_read_lock(&dev_priv->reservation_sem, false); __vmw_svga_enable(dev_priv); ttm_read_unlock(&dev_priv->reservation_sem); } |