diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
| commit | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (patch) | |
| tree | 2624a44924c625c367f3cebf937853b9da2de282 /drivers/ide/ide-disk.c | |
| parent | 9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff) | |
| parent | 29454dde27d8e340bb1987bad9aa504af7081eba (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'drivers/ide/ide-disk.c')
| -rw-r--r-- | drivers/ide/ide-disk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index f033d732f387..f712e4cfd9dc 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
| @@ -47,7 +47,6 @@ | |||
| 47 | 47 | ||
| 48 | //#define DEBUG | 48 | //#define DEBUG |
| 49 | 49 | ||
| 50 | #include <linux/config.h> | ||
| 51 | #include <linux/module.h> | 50 | #include <linux/module.h> |
| 52 | #include <linux/types.h> | 51 | #include <linux/types.h> |
| 53 | #include <linux/string.h> | 52 | #include <linux/string.h> |
| @@ -1018,7 +1017,6 @@ static void ide_disk_release(struct kref *kref) | |||
| 1018 | struct gendisk *g = idkp->disk; | 1017 | struct gendisk *g = idkp->disk; |
| 1019 | 1018 | ||
| 1020 | drive->driver_data = NULL; | 1019 | drive->driver_data = NULL; |
| 1021 | drive->devfs_name[0] = '\0'; | ||
| 1022 | g->private_data = NULL; | 1020 | g->private_data = NULL; |
| 1023 | put_disk(g); | 1021 | put_disk(g); |
| 1024 | kfree(idkp); | 1022 | kfree(idkp); |
| @@ -1222,7 +1220,6 @@ static int ide_disk_probe(ide_drive_t *drive) | |||
| 1222 | drive->attach = 1; | 1220 | drive->attach = 1; |
| 1223 | 1221 | ||
| 1224 | g->minors = 1 << PARTN_BITS; | 1222 | g->minors = 1 << PARTN_BITS; |
| 1225 | strcpy(g->devfs_name, drive->devfs_name); | ||
| 1226 | g->driverfs_dev = &drive->gendev; | 1223 | g->driverfs_dev = &drive->gendev; |
| 1227 | g->flags = drive->removable ? GENHD_FL_REMOVABLE : 0; | 1224 | g->flags = drive->removable ? GENHD_FL_REMOVABLE : 0; |
| 1228 | set_capacity(g, idedisk_capacity(drive)); | 1225 | set_capacity(g, idedisk_capacity(drive)); |
