diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-08-01 09:47:37 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-08-01 16:12:24 +0800 |
commit | 4da3c7183e186afe8196160f16d5a0248a24e45d (patch) | |
tree | 3b450d2dcba12345edc1de41900b3833439fbe18 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 94c43de73521d8ed7ebcfc6191d9dace1cbf7caa (diff) |
erofs: drop unnecessary WARN_ON() in erofs_kill_sb()
Previously, .kill_sb() will be called only after fill_super fails.
It will be changed [1].
Besides, checking for s_magic in erofs_kill_sb() is unnecessary from
any point of view. Let's get rid of it now.
[1] https://lore.kernel.org/r/20230731-flugbereit-wohnlage-78acdf95ab7e@brauner
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230801014737.28614-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions