diff options
author | Vasiliy Kulikov <[email protected]> | 2011-01-12 17:01:00 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-13 08:03:21 -0800 |
commit | 0193383a5833c1f082c738eaca868e4093a8df39 (patch) | |
tree | 79e2f43e17934b2e1ec015f6d76cd0b96b0d627d /net/unix/sysctl_net_unix.c | |
parent | 563558b2c7350371551bf08348ac61be62200505 (diff) |
memstick: core: fix device_register() error handling
If device_register() fails then call put_device(). See comment to
device_register.
Signed-off-by: Vasiliy Kulikov <[email protected]>
Cc: Maxim Levitsky <[email protected]>
Cc: Alex Dubov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions