File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -4895,10 +4895,8 @@ static int its_init_vpe_domain(void)
4895
4895
entries = roundup_pow_of_two (nr_cpu_ids );
4896
4896
vpe_proxy .vpes = kcalloc (entries , sizeof (* vpe_proxy .vpes ),
4897
4897
GFP_KERNEL );
4898
- if (!vpe_proxy .vpes ) {
4899
- pr_err ("ITS: Can't allocate GICv4 proxy device array\n" );
4898
+ if (!vpe_proxy .vpes )
4900
4899
return - ENOMEM ;
4901
- }
4902
4900
4903
4901
/* Use the last possible DevID */
4904
4902
devid = GENMASK (device_ids (its ) - 1 , 0 );
@@ -5314,10 +5312,8 @@ static void __init acpi_table_parse_srat_its(void)
5314
5312
5315
5313
its_srat_maps = kmalloc_array (count , sizeof (struct its_srat_map ),
5316
5314
GFP_KERNEL );
5317
- if (!its_srat_maps ) {
5318
- pr_warn ("SRAT: Failed to allocate memory for its_srat_maps!\n" );
5315
+ if (!its_srat_maps )
5319
5316
return ;
5320
- }
5321
5317
5322
5318
acpi_table_parse_entries (ACPI_SIG_SRAT ,
5323
5319
sizeof (struct acpi_table_srat ),
You can’t perform that action at this time.
0 commit comments