From: Alan Cox Date: Wed, 17 Oct 2007 06:27:31 +0000 (-0700) Subject: tty.h: remove dead define X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=328dfd0f78136082d32d5663d08b514ecba91e68;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git tty.h: remove dead define No longer used. TTY_FLIPBUF_SIZE will also go soon but needs a couple of other cleanups first Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/tty.h b/include/linux/tty.h index 60478f6e5dc6..274b40ff0cd8 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -80,11 +80,6 @@ struct tty_bufhead { struct tty_buffer *free; /* Free queue head */ int memory_used; /* Buffer space used excluding free queue */ }; -/* - * The pty uses char_buf and flag_buf as a contiguous buffer - */ -#define PTY_BUF_SIZE 4*TTY_FLIPBUF_SIZE - /* * When a break, frame error, or parity error happens, these codes are * stuffed into the flags buffer.