diff options
author | dzwdz | 2022-08-08 00:45:46 +0200 |
---|---|---|
committer | dzwdz | 2022-08-08 00:45:46 +0200 |
commit | b99d66ce12b4a1a0dd452d8a38006eede0c05cf2 (patch) | |
tree | 386aeeda170b8e8ed94dadeb0749a5c441995936 /src/kernel/arch/amd64/driver/video.c | |
parent | b0addbe14d2353e9c33f7f4d8a0b4ba8b24b2bd9 (diff) |
kernel/backend: remove the kern.ready() method
Diffstat (limited to 'src/kernel/arch/amd64/driver/video.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/video.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kernel/arch/amd64/driver/video.c b/src/kernel/arch/amd64/driver/video.c index d22adc4..ed4b971 100644 --- a/src/kernel/arch/amd64/driver/video.c +++ b/src/kernel/arch/amd64/driver/video.c @@ -64,12 +64,7 @@ static void accept(struct vfs_request *req) { } } -static bool is_ready(struct vfs_backend *self) { - (void)self; - return true; -} - -static struct vfs_backend backend = BACKEND_KERN(is_ready, accept); +static struct vfs_backend backend = BACKEND_KERN(accept); void video_init(struct fb_info fb_) { fb = fb_; snprintf(namebuf, sizeof namebuf, "%ux%ux%u", fb.width, fb.height, fb.bpp); |