2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

tty: tty_buffer: Remove the repeated word 'the'

Remove the repeated word 'the' following advice of checkpatch.pl
Besides, add a period at the end of comment sentence.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1620811585-18582-5-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Xiaofei Tan 2021-05-12 17:26:12 +08:00 committed by Greg Kroah-Hartman
parent 993c67b1fe
commit dadc104948

View File

@ -32,8 +32,8 @@
* We default to dicing tty buffer allocations to this many characters * We default to dicing tty buffer allocations to this many characters
* in order to avoid multiple page allocations. We know the size of * in order to avoid multiple page allocations. We know the size of
* tty_buffer itself but it must also be taken into account that the * tty_buffer itself but it must also be taken into account that the
* the buffer is 256 byte aligned. See tty_buffer_find for the allocation * buffer is 256 byte aligned. See tty_buffer_find for the allocation
* logic this must match * logic this must match.
*/ */
#define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF) #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)