Skip to contentSkip to conversation

ssb: remove unncessary out label

PATCH Maninder Singh 1 participant 1 message Jun 22, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Michael,

Quoted 6 lines
Quoted 6 lines
(quoted diff) +0 -4
 	pdev = bus->host_pci;
 	mutex_init(&bus->sprom_mutex);
-	err = device_create_file(&pdev->dev, &dev_attr_ssb_sprom);
-	if (err)
-		goto out;
-
Quoted 8 lines

Review

Quoted 4 lines
(quoted diff) +1 -2
-out:
-	return err;
+	return device_create_file(&pdev->dev, &dev_attr_ssb_sprom);
 }

I don't really think this change adds any value, but if you insist on it you get my acked-by.

Yes You are right, But By this change code looks simpler. Thats why i suggested the changes.

Thanks
Maninder