Commit 2ac62268 authored by Xiaofei Tan's avatar Xiaofei Tan Committed by Greg Kroah-Hartman
Browse files

tty: hvc_console: Remove the repeated words 'no' and 'from'



Remove the repeated words 'no' and 'from', reported by checkpatch.pl.

Signed-off-by: default avatarXiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1621565558-26118-1-git-send-email-tanxiaofei@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f421ed33
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -292,7 +292,7 @@ int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops)
	if (vtermnos[index] != -1)
	if (vtermnos[index] != -1)
		return -1;
		return -1;


	/* make sure no no tty has been registered in this index */
	/* make sure no tty has been registered in this index */
	hp = hvc_get_by_index(index);
	hp = hvc_get_by_index(index);
	if (hp) {
	if (hp) {
		tty_port_put(&hp->port);
		tty_port_put(&hp->port);
@@ -620,7 +620,7 @@ static u32 timeout = MIN_TIMEOUT;
/*
/*
 * Maximum number of bytes to get from the console driver if hvc_poll is
 * Maximum number of bytes to get from the console driver if hvc_poll is
 * called from driver (and can't sleep). Any more than this and we break
 * called from driver (and can't sleep). Any more than this and we break
 * and start polling with khvcd. This value was derived from from an OpenBMC
 * and start polling with khvcd. This value was derived from an OpenBMC
 * console with the OPAL driver that results in about 0.25ms interrupts off
 * console with the OPAL driver that results in about 0.25ms interrupts off
 * latency.
 * latency.
 */
 */