diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2003-06-23 16:35:46 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2003-06-23 16:35:46 +0100 |
| commit | 8514206eb4e65262f50d6f18293dc3175ab05693 (patch) | |
| tree | 4cdfb0c09304e69d2a3f86e7f6d9f252c1f62f62 | |
| parent | 51ec39222a414b5d0ad5655f733b883d8bf332f1 (diff) | |
Remove superfluous debugging in mtd_blkdevs.c
| -rw-r--r-- | drivers/mtd/mtd_blkdevs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 1a32b8e96b75..3b0c9c469ea3 100644 --- a/drivers/mtd/mtd_blkdevs.c +++ b/drivers/mtd/mtd_blkdevs.c @@ -1,5 +1,5 @@ /* - * $Id: mtd_blkdevs.c,v 1.15 2003/06/23 12:00:08 dwmw2 Exp $ + * $Id: mtd_blkdevs.c,v 1.16 2003/06/23 13:34:43 dwmw2 Exp $ * * (C) 2003 David Woodhouse <dwmw2@infradead.org> * @@ -344,8 +344,6 @@ void blktrans_notify_add(struct mtd_info *mtd) if (mtd->type == MTD_ABSENT) return; - printk("%s:%s %d: count %d\n", __FILE__, __func__, __LINE__, atomic_read(&mtd_table_mutex.count)); - list_for_each(this, &blktrans_majors) { struct mtd_blktrans_ops *tr = list_entry(this, struct mtd_blktrans_ops, list); @@ -408,8 +406,6 @@ int register_mtd_blktrans(struct mtd_blktrans_ops *tr) INIT_LIST_HEAD(&tr->devs); list_add(&tr->list, &blktrans_majors); - printk("%s:%s %d: count %d\n", __FILE__, __func__, __LINE__, atomic_read(&mtd_table_mutex.count)); - for (i=0; i<MAX_MTD_DEVICES; i++) { if (mtd_table[i] && mtd_table[i]->type != MTD_ABSENT) tr->add_mtd(tr, mtd_table[i]); |
