summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2008-06-25 17:22:41 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 15:22:31 +0200
commit5b635da11e3a6387172abd651d26d8ef54b1fbc7 (patch)
tree0b7018d5008902e96aa4f69db3807a00c0307027 /drivers/scsi/sd.c
parent[SCSI] sd: Move sd.h header file (diff)
downloadlinux-5b635da11e3a6387172abd651d26d8ef54b1fbc7.tar.xz
linux-5b635da11e3a6387172abd651d26d8ef54b1fbc7.zip
[SCSI] sd: Move scsi_disk() accessor function to sd.h
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r--drivers/scsi/sd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index e19691f880b9..71069d952dc7 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -295,11 +295,6 @@ static int sd_major(int major_idx)
}
}
-static inline struct scsi_disk *scsi_disk(struct gendisk *disk)
-{
- return container_of(disk->private_data, struct scsi_disk, driver);
-}
-
static struct scsi_disk *__scsi_disk_get(struct gendisk *disk)
{
struct scsi_disk *sdkp = NULL;