瀏覽代碼

[console] Remove never-used putline() method

putline() was introduced back in 2007 for a feature that was never
committed.  No console driver implements it and no code calls it, so
remove it from struct console_driver.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 年之前
父節點
當前提交
c5d760c987
共有 1 個文件被更改,包括 4 次插入15 次删除
  1. 4
    15
      src/include/console.h

+ 4
- 15
src/include/console.h 查看文件

@@ -32,10 +32,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
32 32
 struct console_driver {
33 33
 	/** Console is disabled.
34 34
 	 *
35
-	 * The console's putchar(), putline(), getchar() and iskey()
36
-	 * methods will not be called while #disabled==1. Typically
37
-	 * the console's initialisation functions will set #disabled=0
38
-	 * upon completion.
35
+	 * The console's putchar(), getchar() and iskey() methods will
36
+	 * not be called while #disabled==1.  Typically the console's
37
+	 * initialisation functions will set #disabled=0 upon
38
+	 * completion.
39 39
 	 *
40 40
 	 */
41 41
 	int disabled;
@@ -49,17 +49,6 @@ struct console_driver {
49 49
 	 */
50 50
 	void ( *putchar ) ( int character );
51 51
 
52
-	/** Write an entire line to the console.
53
-	 * This is intended to be used by line-oriented output media,
54
-	 * like system logging facilities or line printers.
55
-	 * Line output will not contain non-printable characters.
56
-	 *
57
-	 * @v linebuffer	Pointer to the \0-terminated line
58
-	 * @ret None		-
59
-	 * @err None		-
60
-	 */
61
-	void ( * putline ) ( unsigned char * linebuffer );
62
-
63 52
 	/** Read a character from the console.
64 53
 	 *
65 54
 	 * @v None		-

Loading…
取消
儲存