diff options
author | Dan Williams <[email protected]> | 2023-09-29 14:44:46 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-09-29 14:44:46 -0700 |
commit | 76fe8713dd0a1331d84d767e8e5d3f365d959e8a (patch) | |
tree | 9b97cfabdac59f9e1b0e6cfe3ca86ab0d1ab9edc /net/lapb/lapb_in.c | |
parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) |
cxl/pci: Remove unnecessary device reference management in sanitize work
Given that any particular put_device() could be the final put of the
device, the fact that there are usages of cxlds->dev after
put_device(cxlds->dev) is a red flag. Drop the reference counting since
the device is pinned by being registered and will not be unregistered
without triggering the driver + workqueue to shutdown.
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions