vmwgfx: Minor cleanups
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / vmwgfx / vmwgfx_drv.c
index a98ee19bd6826149c4ecdd339525684548cf6653..ddb5abd6ac567b4c4828b556f79d2b4d877debc5 100644 (file)
@@ -569,9 +569,9 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
        vmw_overlay_init(dev_priv);
 
        /* 3D Depends on Screen Objects being used. */
-       DRM_INFO("%s", vmw_fifo_have_3d(dev_priv) ?
-                "Detected device 3D availability.\n" :
-                "Detected no device 3D availability.\n");
+       DRM_INFO("Detected %sdevice 3D availability.\n",
+                vmw_fifo_have_3d(dev_priv) ?
+                "" : "no ");
 
        /* We might be done with the fifo now */
        if (dev_priv->enable_fb) {