From 0f2165548c855c7e91b3491afe2dd355be1bec64 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 25 Aug 2011 15:22:35 +0200 Subject: Disable unused variables * i386/i386at/com.c (comstart): Disable `i' variable. * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable on MACH. --- linux/dev/include/linux/blk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/dev') diff --git a/linux/dev/include/linux/blk.h b/linux/dev/include/linux/blk.h index 852853c..412b864 100644 --- a/linux/dev/include/linux/blk.h +++ b/linux/dev/include/linux/blk.h @@ -385,7 +385,9 @@ static void end_request(int uptodate) { struct request *req = CURRENT; #endif /* IDE_DRIVER */ struct buffer_head * bh; +#ifndef MACH int nsect; +#endif req->errors = 0; if (!uptodate) { -- cgit v1.2.3