diff options
author | Rafael J. Wysocki <[email protected]> | 2008-03-03 23:46:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2008-03-04 14:47:05 -0800 |
commit | 135dee0cd0eb2638fab899b428e51f00e8c046a8 (patch) | |
tree | f45d0021383e4fd52cfbc4c2ac879c62fea7724f /net/unix/sysctl_net_unix.c | |
parent | 1b3cbec1dcb6747b587b40335f5de1d9e035063c (diff) |
driver core: Remove dpm_sysfs_remove() from error path of device_add()
Since device_pm_remove(dev) calls dpm_sysfs_remove(dev), it's
incorrect to call the latter after the former in the device_add()
error path.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions