diff options
| author | Can Guo <cang@codeaurora.org> | 2018-03-01 11:10:39 +0800 |
|---|---|---|
| committer | Can Guo <cang@codeaurora.org> | 2018-03-07 13:03:25 +0800 |
| commit | 8a7e59ba7f4b39a2d3e83b21293c6fe3d4d1db59 (patch) | |
| tree | c31d0eed2d5053aa638d9cc94d6ddeb4a9a8f15c /fs/btrfs/tree-log.c | |
| parent | 07ec991ea1a1f719aca6d5c4f11c8df4bf02d5c9 (diff) | |
scsi: ufs: do not destroy clk scaling work queue if it is NULL
Function ufshcd_hba_exit might be called to destroy clk scaling work queue
if failure happends in function ufshcd_init before clk gating work queue
is created. This change fixs it by skipping destroying clk scaling work
queue if it is NULL.
Change-Id: Ifb1c46f490749e4afe7cea331c29d073175f68ef
Signed-off-by: Can Guo <cang@codeaurora.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
