summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2010-07-14 12:27:42 +0200
committerMichael Brown2010-07-14 12:27:42 +0200
commitc5d760c9870bf8cbe1f3b8c97495c86250ca1d72 (patch)
treee17eb03d500af5d83fcff03ed33b9ebd99754c8b /src
parent[cmdline] Fix inconsistent and ugly code formatting in shell_banner() (diff)
downloadipxe-c5d760c9870bf8cbe1f3b8c97495c86250ca1d72.tar.gz
ipxe-c5d760c9870bf8cbe1f3b8c97495c86250ca1d72.tar.xz
ipxe-c5d760c9870bf8cbe1f3b8c97495c86250ca1d72.zip
[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>
Diffstat (limited to 'src')
-rw-r--r--src/include/console.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/include/console.h b/src/include/console.h
index da26c36cc..9ecf9d440 100644
--- a/src/include/console.h
+++ b/src/include/console.h
@@ -32,10 +32,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
struct console_driver {
/** Console is disabled.
*
- * The console's putchar(), putline(), getchar() and iskey()
- * methods will not be called while #disabled==1. Typically
- * the console's initialisation functions will set #disabled=0
- * upon completion.
+ * The console's putchar(), getchar() and iskey() methods will
+ * not be called while #disabled==1. Typically the console's
+ * initialisation functions will set #disabled=0 upon
+ * completion.
*
*/
int disabled;
@@ -49,17 +49,6 @@ struct console_driver {
*/
void ( *putchar ) ( int character );
- /** Write an entire line to the console.
- * This is intended to be used by line-oriented output media,
- * like system logging facilities or line printers.
- * Line output will not contain non-printable characters.
- *
- * @v linebuffer Pointer to the \0-terminated line
- * @ret None -
- * @err None -
- */
- void ( * putline ) ( unsigned char * linebuffer );
-
/** Read a character from the console.
*
* @v None -