lkml.org 
[lkml]   [2008]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] tty: remove unused variable canon_change
    From
    Date
    drivers/char/tty_ioctl.c: In function ‘change_termios’:
    drivers/char/tty_ioctl.c:492: warning: unused variable ‘canon_change’

    Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
    ---
    new warning in next-20080902

    drivers/char/tty_ioctl.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/char/tty_ioctl.c b/drivers/char/tty_ioctl.c
    index 17e6a98..a408c8e 100644
    --- a/drivers/char/tty_ioctl.c
    +++ b/drivers/char/tty_ioctl.c
    @@ -489,7 +489,6 @@ EXPORT_SYMBOL(tty_termios_hw_change);

    static void change_termios(struct tty_struct *tty, struct ktermios *new_termios)
    {
    - int canon_change;
    struct ktermios old_termios;
    struct tty_ldisc *ld;
    unsigned long flags;
    --
    1.6.0.1.400.ga23d3


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-09-02 23:29    [W:0.022 / U:13.828 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site