eata: remove driver_lock
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jul 2014 07:34:54 +0000 (09:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:38 +0000 (09:09 -0700)
commited81d7741eddb690aa9d5c79945123db11ec7a0c
tree5682c2c01e65c17be13216d9e6fa991982ba0d25
parent6fe8c1dbefd63ef3988edb745d9eb81fc6d0513c
eata: remove driver_lock

port_detect is only called from the module_init routine and thus implicitly
serialized, so remove the driver lock which was held over potentially
sleeping function calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Arthur Marsh <arthur.marsh@internode.on.net>
Tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/eata.c