1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00

Kernel: Remove duplicative kgettimeofday(timeval&) function

This commit is contained in:
Ben Wiederhake 2021-02-28 02:09:56 +01:00 committed by Andreas Kling
parent c040e64b7d
commit 05d5e3fad9
3 changed files with 1 additions and 8 deletions

View file

@ -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;