diff options
author | NeilBrown <neilb@suse.de> | 2010-03-16 03:55:32 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-03-16 03:55:32 -0400 |
commit | 97fedbbe1046b3118f49df249840ca21041eefe4 (patch) | |
tree | d888fb0e15600a9bfd08706cee144f2b179e6070 /drivers/scsi | |
parent | c77a5710b7e23847bfdb81fcaa10b585f65c960a (diff) |
Remove GENHD_FL_DRIVERFS
This flag is not used, so best discarded.
Signed-off-by: NeilBrown <neilb@suse.de>
--
Hi Jens,
I came across this recently - these are the only two occurances
of "GENHD_FL_DRIVERFS" in the kernel, so it cannot be needed.
NeilBrown
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 1dd4d8407694..466fae8ef770 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -2185,7 +2185,7 @@ static void sd_probe_async(void *data, async_cookie_t cookie) | |||
2185 | blk_queue_prep_rq(sdp->request_queue, sd_prep_fn); | 2185 | blk_queue_prep_rq(sdp->request_queue, sd_prep_fn); |
2186 | 2186 | ||
2187 | gd->driverfs_dev = &sdp->sdev_gendev; | 2187 | gd->driverfs_dev = &sdp->sdev_gendev; |
2188 | gd->flags = GENHD_FL_EXT_DEVT | GENHD_FL_DRIVERFS; | 2188 | gd->flags = GENHD_FL_EXT_DEVT; |
2189 | if (sdp->removable) | 2189 | if (sdp->removable) |
2190 | gd->flags |= GENHD_FL_REMOVABLE; | 2190 | gd->flags |= GENHD_FL_REMOVABLE; |
2191 | 2191 | ||