Re: [PATCH 08/19] swim: don't call blk_register_region

From: Hannes Reinecke
Date: Fri Sep 04 2020 - 06:21:42 EST


On 9/3/20 10:01 AM, Christoph Hellwig wrote:
The swim driver (unlike various other floppy drivers) doesn't have
magic device nodes for certain modes, and already registers a gendisk
for each of the floppies supported by a device. Thus the region
registered is a no-op and can be removed.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
drivers/block/swim.c | 17 -----------------
1 file changed, 17 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer