lkml.org 
[lkml]   [2005]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 3/2] drivers/char/vt.c: remove unnecessary code
    On Mon, Feb 28, 2005 at 06:29:39PM +0100, emmanuel.colbus@ensimag.imag.fr wrote:

    > Well, without it, it gives :
    >
    >
    >
    > --- old/drivers/char/vt.c 2004-12-24 22:35:25.000000000 +0100
    > +++ new/drivers/char/vt.c 2005-02-28 18:19:11.782717810 +0100
    > @@ -1655,8 +1655,8 @@
    > vc_state = ESnormal;
    > return;
    > case ESsquare:
    > - for(npar = 0 ; npar < NPAR ; npar++)
    > - par[npar] = 0;
    > + memset(par, 0, NPAR*sizeof(unsigned int));
    > npar = 0;
    > vc_state = ESgetpars;
    > if (c == '[') { /* Function key */
    >
    >
    >
    >
    > Any other comments/remarks, or is _this_ patch version acceptable?

    A not whitespace-mangled version of it could be.

    Stelian.
    --
    Stelian Pop <stelian@popies.net>
    -
    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: 2005-03-22 14:10    [W:0.021 / U:2.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site