lkml.org 
[lkml]   [2023]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 01/36] tty: xtensa/iss: drop unneeded tty_operations hooks
    On Thu, Aug 10, 2023 at 2:15 AM Jiri Slaby (SUSE) <jirislaby@kernel.org> wrote:
    >
    > All ::flush_chars(), ::hangup(), and ::wait_until_sent() from struct
    > tty_operations are optional. There is no need to provide them with
    > empty bodies.
    >
    > tty_operations::put_char() needs not be provided if it is the same as
    > tty_operations::write(tty, &ch, 1).
    >
    > So drop all of them.
    >
    > Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
    > Cc: Chris Zankel <chris@zankel.net>
    > Cc: Max Filippov <jcmvbkbc@gmail.com>
    > ---
    > arch/xtensa/platforms/iss/console.c | 24 ------------------------
    > 1 file changed, 24 deletions(-)

    Acked-by: Max Filippov <jcmvbkbc@gmail.com>

    --
    Thanks.
    -- Max

    \
     
     \ /
      Last update: 2023-08-10 14:39    [W:6.201 / U:0.992 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site