Skip to content

Commit 8632990

Browse files
tchardinggregkh
authored andcommitted
tty_port: Remove incorrect whitespace after comments
Currently there are a bunch of kernel-doc function comments that have a line of whitespace after the comment and before the function they comment - this is incorrect, there should be no whitespace here. Remove incorrect whitespace between comment and associated function. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 30ec514 commit 8632990

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/tty/tty_port.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ EXPORT_SYMBOL(tty_port_put);
279279
* Return a refcount protected tty instance or NULL if the port is not
280280
* associated with a tty (eg due to close or hangup)
281281
*/
282-
283282
struct tty_struct *tty_port_tty_get(struct tty_port *port)
284283
{
285284
unsigned long flags;
@@ -300,7 +299,6 @@ EXPORT_SYMBOL(tty_port_tty_get);
300299
* Associate the port and tty pair. Manages any internal refcounts.
301300
* Pass NULL to deassociate a port
302301
*/
303-
304302
void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty)
305303
{
306304
unsigned long flags;
@@ -343,7 +341,6 @@ static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty)
343341
*
344342
* Caller holds tty lock.
345343
*/
346-
347344
void tty_port_hangup(struct tty_port *port)
348345
{
349346
struct tty_struct *tty;
@@ -399,7 +396,6 @@ EXPORT_SYMBOL_GPL(tty_port_tty_wakeup);
399396
* to hide some internal details. This will eventually become entirely
400397
* internal to the tty port.
401398
*/
402-
403399
int tty_port_carrier_raised(struct tty_port *port)
404400
{
405401
if (port->ops->carrier_raised == NULL)
@@ -416,7 +412,6 @@ EXPORT_SYMBOL(tty_port_carrier_raised);
416412
* to hide some internal details. This will eventually become entirely
417413
* internal to the tty port.
418414
*/
419-
420415
void tty_port_raise_dtr_rts(struct tty_port *port)
421416
{
422417
if (port->ops->dtr_rts)
@@ -432,7 +427,6 @@ EXPORT_SYMBOL(tty_port_raise_dtr_rts);
432427
* to hide some internal details. This will eventually become entirely
433428
* internal to the tty port.
434429
*/
435-
436430
void tty_port_lower_dtr_rts(struct tty_port *port)
437431
{
438432
if (port->ops->dtr_rts)
@@ -464,7 +458,6 @@ EXPORT_SYMBOL(tty_port_lower_dtr_rts);
464458
* NB: May drop and reacquire tty lock when blocking, so tty and tty_port
465459
* may have changed state (eg., may have been hung up).
466460
*/
467-
468461
int tty_port_block_til_ready(struct tty_port *port,
469462
struct tty_struct *tty, struct file *filp)
470463
{

0 commit comments

Comments
 (0)