summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-25 15:22:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-27 00:51:43 +0200
commit0f2165548c855c7e91b3491afe2dd355be1bec64 (patch)
tree9784cf6a357dcf142ea1893be54b3a03ca7e0a8d /linux/src/drivers
parentc706c9321eaf9c4dd6c462428708759dbf5a1cc4 (diff)
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.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r--linux/src/drivers/net/at1700.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/src/drivers/net/at1700.c b/linux/src/drivers/net/at1700.c
index 953c188..9e42ab4 100644
--- a/linux/src/drivers/net/at1700.c
+++ b/linux/src/drivers/net/at1700.c
@@ -595,7 +595,9 @@ net_rx(struct device *dev)
/* The inverse routine to net_open(). */
static int net_close(struct device *dev)
{
+#if 0
struct net_local *lp = (struct net_local *)dev->priv;
+#endif
int ioaddr = dev->base_addr;
dev->tbusy = 1;