Loading include/linux/tty.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -325,7 +325,7 @@ extern struct class *tty_class; * go away * go away */ */ extern inline struct tty_struct *tty_kref_get(struct tty_struct *tty) static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) { { if (tty) if (tty) kref_get(&tty->kref); kref_get(&tty->kref); Loading Loading
include/linux/tty.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -325,7 +325,7 @@ extern struct class *tty_class; * go away * go away */ */ extern inline struct tty_struct *tty_kref_get(struct tty_struct *tty) static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) { { if (tty) if (tty) kref_get(&tty->kref); kref_get(&tty->kref); Loading