block: genhd: remove async_events field
authorMartin Wilck <mwilck@suse.com>
Wed, 27 Mar 2019 13:51:01 +0000 (14:51 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Apr 2019 19:35:22 +0000 (13:35 -0600)
commit673387a930059fc4ad8060847a1d46f94e702281
treeeb69068301eb39d33239efd75b3d3b9a5777702f
parent52d52d1c98a90cfe860b83498e4b6074aad95c15
block: genhd: remove async_events field

The async_events field, intended to be used for drivers that support
asynchronous notifications about disk events (aka media change events),
isn't currently used by any driver, and apparently that has been that
way for a long time (if not forever). Remove it.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/block/pktcdvd.c
include/linux/genhd.h