RE: [PATCH] usb: omap: fix the warning unused variable 'status'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Keshava Munegowda wrote:
> This patch fix the follwing warning when compiling usb code for OMAP
defconfigs.
> arch/arm/mach-omap2/board-omap4panda.c:277: warning: unused variable
'status'
>
> Signed-off-by: Keshava Munegowda <keshava_mgowda@xxxxxx>


Already posted by Sanjeev, and queued in for-next.

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=comm
itdiff;h=ca828760f96ee8f0b6c93400599844761aa69dc0

> ---
>  arch/arm/mach-omap2/board-omap4panda.c |    2 --
>  1 file changed, 2 deletions(-)
>
> Index: linux-2.6/arch/arm/mach-omap2/board-omap4panda.c
> ===================================================================
> --- linux-2.6.orig/arch/arm/mach-omap2/board-omap4panda.c
> +++ linux-2.6/arch/arm/mach-omap2/board-omap4panda.c
> @@ -274,8 +274,6 @@ static int __init omap4_panda_i2c_init(v
>  }
>  static void __init omap4_panda_init(void)
>  {
> -	int status;
> -
>  	omap4_panda_i2c_init();
>  	omap_serial_init();
>  	omap4_twl6030_hsmmc_init(mmc);
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux