Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3514f1db authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: cntrl: qcom: remove multiple calls to sysfs_create_group()"

parents 82a82030 79e9761e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -823,9 +823,6 @@ static struct mhi_controller *mhi_register_controller(struct pci_dev *pci_dev)
	atomic_set(&mhi_cntrl->write_idx, -1);

skip_offload:
	if (sysfs_create_group(&mhi_cntrl->mhi_dev->dev.kobj, &mhi_qcom_group))
		MHI_CNTRL_ERR("Error while creating the sysfs group\n");

	return mhi_cntrl;

error_free_wq: