Commit 5f348e7
committed
fs/locks: optimize locks_remove_posix
remove the three lines, because locks_init_lock init them by memset0:
lock.fl_start = 0;
lock.fl_ops = NULL;
lock.fl_lmops = NULL;
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 66a4909 commit 5f348e7
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2554 | 2554 | | |
2555 | 2555 | | |
2556 | 2556 | | |
2557 | | - | |
2558 | 2557 | | |
2559 | 2558 | | |
2560 | 2559 | | |
2561 | 2560 | | |
2562 | | - | |
2563 | | - | |
2564 | 2561 | | |
2565 | 2562 | | |
2566 | 2563 | | |
| |||
0 commit comments