Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ssb: Remove meaningless jump label to simplify the code

The out jump label has nothing to do. So remove it to simplify the code.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200915020330.96067-1-jingxiangfeng@huawei.com

authored by

Jing Xiangfeng and committed by
Kalle Valo
41650c45 f26506f0

+1 -6
+1 -6
drivers/ssb/pci.c
··· 1164 1164 int ssb_pci_init(struct ssb_bus *bus) 1165 1165 { 1166 1166 struct pci_dev *pdev; 1167 - int err; 1168 1167 1169 1168 if (bus->bustype != SSB_BUSTYPE_PCI) 1170 1169 return 0; 1171 1170 1172 1171 pdev = bus->host_pci; 1173 1172 mutex_init(&bus->sprom_mutex); 1174 - err = device_create_file(&pdev->dev, &dev_attr_ssb_sprom); 1175 - if (err) 1176 - goto out; 1177 1173 1178 - out: 1179 - return err; 1174 + return device_create_file(&pdev->dev, &dev_attr_ssb_sprom); 1180 1175 }