Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759442AbXIBUDU (ORCPT ); Sun, 2 Sep 2007 16:03:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752078AbXIBUDM (ORCPT ); Sun, 2 Sep 2007 16:03:12 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:38319 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbXIBUDL (ORCPT ); Sun, 2 Sep 2007 16:03:11 -0400 Date: Mon, 3 Sep 2007 01:46:20 +0530 (IST) From: Satyam Sharma X-X-Sender: satyam@enigma.security.iitk.ac.in To: Linux Kernel Mailing List cc: Pierre Ossman Subject: [PATCH -mm] drivers/mmc/core/bus.c: Fix unused var warning In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="464262402-1543750880-1188764183=:29617" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 34 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --464262402-1543750880-1188764183=:29617 Content-Type: TEXT/PLAIN; charset=iso-2022-jp drivers/mmc/core/bus.c: In function ‘mmc_bus_uevent’: drivers/mmc/core/bus.c:77: warning: unused variable ‘length’ drivers/mmc/core/bus.c:77: warning: unused variable ‘i’ Signed-off-by: Satyam Sharma --- drivers/mmc/core/bus.c | 1 - 1 file changed, 1 deletion(-) --- linux-2.6.23-rc4-mm1/drivers/mmc/core/bus.c‾fix 2007-09-02 19:18:05.000000000 +0530 +++ linux-2.6.23-rc4-mm1/drivers/mmc/core/bus.c 2007-09-02 19:18:08.000000000 +0530 @@ -74,7 +74,6 @@ mmc_bus_uevent(struct device *dev, struc { struct mmc_card *card = dev_to_mmc_card(dev); const char *type; - int i = 0, length = 0; switch (card->type) { case MMC_TYPE_MMC: --464262402-1543750880-1188764183=:29617-- - 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/