Fix some trivial variable/functions/label defined (static) but not used
warnings.
static int floppy_revalidate(kdev_t dev)
{
#define NO_GEOM (!current_type[drive] && !TYPE(dev))
+#if 0
struct buffer_head * bh;
+#endif
int drive=DRIVE(dev);
int cf;
#include <linux/genhd.h>
-static char sd_version_str[] = "Version: 2.0.3 (20020417)";
+/* static char sd_version_str[] = "Version: 2.0.3 (20020417)"; */
#define SD_MAJOR(i) (!(i) ? SCSI_DISK0_MAJOR : SCSI_DISK1_MAJOR-1+(i))
}
if (changed)
redo_inode_mask(inode);
-out:
write_unlock(&dn_lock);
}
return NULL;
}
+#ifdef CONFIG_IP_NF_NAT_LOCAL
/* If it's really a local destination manip, it may need to do a
source manip too. */
static int
ip_rt_put(rt);
return 1;
}
+#endif
/* Simple way to iterate through all. */
static inline int fake_cmp(const struct ip_nat_hash *i,