aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console/dummycon.c
diff options
context:
space:
mode:
authorPeilin Ye <yepeilin.cs@gmail.com>2020-11-12 07:04:03 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-11-16 16:27:03 +0100
commit7a089ec7d77fe7d50f6bb7b178fa25eec9fd822b (patch)
treecaafb0881496381d34b8a3cfcc55d8892e9e6d88 /drivers/video/console/dummycon.c
parentdrm/panfrost: Move the GPU reset bits outside the timeout handler (diff)
downloadlinux-dev-7a089ec7d77fe7d50f6bb7b178fa25eec9fd822b.tar.xz
linux-dev-7a089ec7d77fe7d50f6bb7b178fa25eec9fd822b.zip
console: Delete unused con_font_copy() callback implementations
Recently in commit 3c4e0dff2095 ("vt: Disable KD_FONT_OP_COPY") we disabled the KD_FONT_OP_COPY ioctl() option. Delete all the con_font_copy() callbacks, since we no longer use them. Mark KD_FONT_OP_COPY as "obsolete" in include/uapi/linux/kd.h, just like what we have done for PPPIOCDETACH in commit af8d3c7c001a ("ppp: remove the PPPIOCDETACH ioctl"). Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/c8d28007edf50de4387e1532eb3eb736db716f73.1605169912.git.yepeilin.cs@gmail.com
Diffstat (limited to 'drivers/video/console/dummycon.c')
-rw-r--r--drivers/video/console/dummycon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/console/dummycon.c b/drivers/video/console/dummycon.c
index 2a0d0bda7faa..ab3df752fb57 100644
--- a/drivers/video/console/dummycon.c
+++ b/drivers/video/console/dummycon.c
@@ -136,11 +136,6 @@ static int dummycon_font_default(struct vc_data *vc,
return 0;
}
-static int dummycon_font_copy(struct vc_data *vc, int con)
-{
- return 0;
-}
-
/*
* The console `switch' structure for the dummy console
*
@@ -161,6 +156,5 @@ const struct consw dummy_con = {
.con_blank = dummycon_blank,
.con_font_set = dummycon_font_set,
.con_font_default = dummycon_font_default,
- .con_font_copy = dummycon_font_copy,
};
EXPORT_SYMBOL_GPL(dummy_con);