patch-2.4.19 linux-2.4.19/drivers/scsi/sd.h

Next file: linux-2.4.19/drivers/scsi/sg.c
Previous file: linux-2.4.19/drivers/scsi/sd.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/scsi/sd.h linux-2.4.19/drivers/scsi/sd.h
@@ -23,8 +23,6 @@
 #include <linux/genhd.h>
 #endif
 
-extern struct hd_struct *sd;
-
 typedef struct scsi_disk {
 	unsigned capacity;	/* size in blocks */
 	Scsi_Device *device;
@@ -45,7 +43,6 @@
 #define N_SD_MAJORS	8
 
 #define SD_MAJOR_MASK	(N_SD_MAJORS - 1)
-#define SD_PARTITION(i)		(((MAJOR(i) & SD_MAJOR_MASK) << 8) | (MINOR(i) & 255))
 
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)