diff options
| author | Bart Van Assche <[email protected]> | 2019-04-04 12:44:46 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-04-08 22:16:34 -0400 |
| commit | c794d24ec9eb6658909955772e70f34bef5b5b91 (patch) | |
| tree | 73fd664cb1879182b1e2897e857974f91e2c745d /tools/perf/scripts/python | |
| parent | 2c26348c4d090caeb308530ea893b37897e4a58d (diff) | |
scsi: qla2xxx: Unregister chrdev if module initialization fails
If module initialization fails after the character device has been
registered, unregister the character device. Additionally, avoid
duplicating error path code.
Cc: Himanshu Madhani <[email protected]>
Cc: Giridhar Malavali <[email protected]>
Fixes: 6a03b4cd78f3 ("[SCSI] qla2xxx: Add char device to increase driver use count") # v2.6.35.
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions