diff options
| author | Saravana Kannan <[email protected]> | 2019-11-15 00:04:38 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-11-15 12:04:20 +0000 |
| commit | b59b654478093fa429ad4c7897ae29f201146a00 (patch) | |
| tree | 22ddcac704f51369284ac40c2b6b5a4e09033b62 /net/tipc/socket.c | |
| parent | regulator: core: Release coupled_rdevs on regulator_init_coupling() error (diff) | |
| download | kernel-b59b654478093fa429ad4c7897ae29f201146a00.tar.gz kernel-b59b654478093fa429ad4c7897ae29f201146a00.zip | |
regulator: core: Don't try to remove device links if add failed
device_link_add() might not always succeed depending on the type of
device link and the rest of the dependencies in the system. If
device_link_add() didn't succeed, then we shouldn't try to remove the
link later on as it might remove a link someone else created.
Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
