Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / hv / hv.c
index 731158910c1e25db19cee5eb4ab13e9f6f4d610d..ae4923756d98788490166af3393fecba5a84b6a0 100644 (file)
@@ -289,9 +289,8 @@ void hv_synic_init(void *arg)
        /* Check the version */
        rdmsrl(HV_X64_MSR_SVERSION, version);
 
-       hv_context.event_dpc[cpu] = (struct tasklet_struct *)
-                                       kmalloc(sizeof(struct tasklet_struct),
-                                               GFP_ATOMIC);
+       hv_context.event_dpc[cpu] = kmalloc(sizeof(struct tasklet_struct),
+                                           GFP_ATOMIC);
        if (hv_context.event_dpc[cpu] == NULL) {
                pr_err("Unable to allocate event dpc\n");
                goto cleanup;