Removed an unused variable.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-23 07:11:49 +00:00
parent ffe49d6869
commit f1bab28eb6

View File

@@ -238,7 +238,6 @@ EXPORT_SYMBOL_GPL(srp_rport_add);
void srp_rport_del(struct srp_rport *rport)
{
struct device *dev = &rport->dev;
struct Scsi_Host *shost = dev_to_shost(dev->parent);
transport_remove_device(dev);
device_del(dev);