summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeilin Ye <yepeilin.cs@gmail.com>2020-11-12 07:04:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-19 13:12:00 +0100
commit528b68cf2b4db4218c798df747de6e0e4c41c073 (patch)
treec1f797dbd843f3d5f3eda274aa2911a06022e09a /include/linux
parent2d12774ca5ceadddb011f2fdf29703afccc6d0b5 (diff)
console: Delete unused con_font_copy() callback implementations
commit 7a089ec7d77fe7d50f6bb7b178fa25eec9fd822b upstream. 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 Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/console.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index bc2a749e6f0d..a97f277cfdfa 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -62,7 +62,6 @@ struct consw {
int (*con_font_get)(struct vc_data *vc, struct console_font *font);
int (*con_font_default)(struct vc_data *vc,
struct console_font *font, char *name);
- int (*con_font_copy)(struct vc_data *vc, int con);
int (*con_resize)(struct vc_data *vc, unsigned int width,
unsigned int height, unsigned int user);
void (*con_set_palette)(struct vc_data *vc,