[IA64] Remove unnecessary cast of allocation return value in sn_hwperf_enum_objects()

vmalloc() returns a void pointer - no need to cast it.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Jesper Juhl and committed by Tony Luck 1aac0b57 f740e6c9

+2 -1
+2 -1
arch/ia64/sn/kernel/sn2/sn_hwperf.c
··· 66 } 67 68 sz = sn_hwperf_obj_cnt * sizeof(struct sn_hwperf_object_info); 69 - if ((objbuf = (struct sn_hwperf_object_info *) vmalloc(sz)) == NULL) { 70 printk("sn_hwperf_enum_objects: vmalloc(%d) failed\n", (int)sz); 71 e = -ENOMEM; 72 goto out;
··· 66 } 67 68 sz = sn_hwperf_obj_cnt * sizeof(struct sn_hwperf_object_info); 69 + objbuf = vmalloc(sz); 70 + if (objbuf == NULL) { 71 printk("sn_hwperf_enum_objects: vmalloc(%d) failed\n", (int)sz); 72 e = -ENOMEM; 73 goto out;