mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel: Remove duplicative kgettimeofday(timeval&) function
This commit is contained in:
parent
c040e64b7d
commit
05d5e3fad9
Notes:
sideshowbarker
2024-07-18 21:47:37 +09:00
Author: https://github.com/BenWiederhake
Commit: 05d5e3fad9
Pull-request: https://github.com/SerenityOS/serenity/pull/5323
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bgianfo
3 changed files with 1 additions and 8 deletions
|
@ -280,8 +280,7 @@ KResultOr<NonnullRefPtr<Inode>> TmpFSInode::create_child(const String& name, mod
|
|||
if (dev != 0)
|
||||
return ENOTSUP;
|
||||
|
||||
struct timeval now;
|
||||
kgettimeofday(now);
|
||||
struct timeval now = kgettimeofday();
|
||||
|
||||
InodeMetadata metadata;
|
||||
metadata.mode = mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue