[TRIVIAL][PATCH-2.6.0-test2] Remove unused variable.

From: Krishnakumar. R (krishnakumar_at_naturesoft.net)
Date: 07/31/03

  • Next message: Richard B. Johnson: "Re: TSCs are a no-no on i386"
    To: trivial@rustcorp.com.au
    Date:	Thu, 31 Jul 2003 16:39:24 +0530
    
    

    Hi,

    This removes the following warning while compiling.

    drivers/char/cyclades.c: In function `cy_cleanup_module':
    drivers/char/cyclades.c:5668: warning: unused variable `e2'

    The patch is against the linux-2.6.0-test2.

    Regards
    KK

    --- linux-2.6.0-test2/drivers/char/cyclades.orig.c 2003-07-31 16:16:49.000000000 +0530
    +++ linux-2.6.0-test2/drivers/char/cyclades.c 2003-07-31 16:30:12.000000000 +0530
    @@ -5665,7 +5665,7 @@
     cy_cleanup_module(void)
     {
         int i;
    - int e1, e2;
    + int e1;
         unsigned long flags;
     
     #ifndef CONFIG_CYZ_INTR

    -
    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/


  • Next message: Richard B. Johnson: "Re: TSCs are a no-no on i386"

    Relevant Pages

    • [TRIVIAL] Patch to for Cyclades ISA serial board under 2.6
      ... int e1, e2; ... unsigned long flags; ... #ifndef CONFIG_CYZ_INTR ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • xemacs installation problems
      ... checking for gcc... ... checking whether we are using GNU C... ... checking size of int... ... configure: warning: No OffiX without generic Drag'n'Drop support ...
      (comp.os.linux.misc)
    • Re: bug in Real-Time Preemption
      ... lib/rwsem.c:153: warning: type defaults to `int' in declaration of `type name' ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: error
      ... foo.c:50: warning: string constant runs past end of line ... foo.c:7: warning: declaration of `n' shadows global declaration ... foo.c:29: warning: return type of `main' is not `int' ... char check(int n_, ...
      (comp.lang.c)
    • 2.6.13-rt14 build problem on Powerpc board
      ... kernel/ntp.c:84: warning: excess elements in scalar initializer ... kernel/ntp.c:104: warning: type defaults to `int' in declaration of ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)