patch-1.3.79 linux/include/linux/blk.h

Next file: linux/include/linux/blkdev.h
Previous file: linux/include/asm-i386/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.78/linux/include/linux/blk.h linux/include/linux/blk.h
@@ -319,8 +319,6 @@
 #define CURRENT (blk_dev[MAJOR_NR].current_request)
 #endif
 
-#define CURRENT_PLUGGED IS_PLUGGED(blk_dev+MAJOR_NR)
-
 #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev)
 
 #ifdef DEVICE_INTR
@@ -358,7 +356,7 @@
 #endif
 
 #define INIT_REQUEST \
-	if (!CURRENT || CURRENT_PLUGGED) {\
+	if (!CURRENT) {\
 		CLEAR_INTR; \
 		return; \
 	} \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this