mtd/drivers/mtd mtd_blkdevs-24.c,1.3,1.4

David Woodhouse dwmw2 at infradead.org
Tue May 20 17:43:29 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv12062

Modified Files:
	mtd_blkdevs-24.c 
Log Message:
slight cleanup

Index: mtd_blkdevs-24.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs-24.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mtd_blkdevs-24.c	20 May 2003 21:29:37 -0000	1.3
+++ mtd_blkdevs-24.c	20 May 2003 21:43:26 -0000	1.4
@@ -110,9 +110,7 @@
 static int mtd_blktrans_thread(void *arg)
 {
 	struct mtd_blktrans_ops *tr = arg;
-	request_queue_t *rq = (BLK_DEFAULT_QUEUE(tr->major));
-
-	BUG_ON(!tr);
+	struct request_queue *rq = BLK_DEFAULT_QUEUE(tr->major);
 
 	/* we might get involved when memory gets low, so use PF_MEMALLOC */
 	current->flags |= PF_MEMALLOC;




More information about the linux-mtd-cvs mailing list