PCI: Simplify pci_create_attr() control flow
Return error immediately to simplify the control flow in pci_create_attr().
No functional change intended.
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Showing
想要评论请 注册 或 登录
Return error immediately to simplify the control flow in pci_create_attr().
No functional change intended.
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>