Merge tag 'ntb-4.8' of git://github.com/jonmason/ntb
[deliverable/linux.git] / drivers / gpu / drm / vmwgfx / vmwgfx_execbuf.c
index 1a1a87cbf1097988bc60f91bd6debb872211908d..dc5beff2b4aaff83c18dc77187647102efea5266 100644 (file)
@@ -3625,9 +3625,7 @@ static int vmw_resize_cmd_bounce(struct vmw_sw_context *sw_context,
                                   (sw_context->cmd_bounce_size >> 1));
        }
 
-       if (sw_context->cmd_bounce != NULL)
-               vfree(sw_context->cmd_bounce);
-
+       vfree(sw_context->cmd_bounce);
        sw_context->cmd_bounce = vmalloc(sw_context->cmd_bounce_size);
 
        if (sw_context->cmd_bounce == NULL) {
This page took 0.028251 seconds and 5 git commands to generate.