History

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").

Peilin Ye committed 6 years ago

Commit 7a089ec1 parent 5bc5cc25 files · +1 −25Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kd.h+1−1
@@ -173,7 +173,7 @@ struct console_font { · 172 unmodified lines
173173 #define KD_FONT_OP_SET 0 /* Set font */
174174 #define KD_FONT_OP_GET 1 /* Get font */
175175 #define KD_FONT_OP_SET_DEFAULT 2 /* Set font to default, data points to name / NULL */
176−#define KD_FONT_OP_COPY 3 /* Copy from another console */
176+#define KD_FONT_OP_COPY 3 /* Obsolete, do not use */
177177
178178 #define KD_FONT_FLAG_DONT_RECALC 1 /* Don't recalculate hw charcell size [compat] */
179179