code clean

This commit is contained in:
zy
2023-12-12 11:50:10 +08:00
parent fddda83a88
commit 636b2df0dd
5 changed files with 30 additions and 10 deletions

View File

@@ -164,7 +164,10 @@ void cancel_all_hrTimer(void) {
printk(KERN_INFO "HrTimer cancel,module keep %d hrtimer for now\n", kernel_wtimer_num);
}
/**
* @brief cancel all work
*
*/
void cancel_all_work(void) {
int i = 0;
kernel_watch_timer *timer = NULL;
@@ -174,6 +177,10 @@ void cancel_all_work(void) {
}
}
/**
* @brief destory all work
*
*/
void cancel_destory_all_work(void) {
int i = 0;
kernel_watch_timer *timer = NULL;