Merge "interconnect: qcom: direwolf: fix UAF under remove function"

This commit is contained in:
qctecmdr 2023-05-15 04:24:40 -07:00 • committed by Gerrit - the friendly Code Review server
commit 811eb4ca7f

View file

@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
*
*/
@ -2693,11 +2694,5 @@ static int __init qnoc_driver_init(void)
}
core_initcall(qnoc_driver_init);
static void __exit qnoc_driver_exit(void)
{
platform_driver_unregister(&qnoc_driver);
}
module_exit(qnoc_driver_exit);
MODULE_DESCRIPTION("Direwolf NoC driver");
MODULE_LICENSE("GPL v2");