Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142092
b: refs/heads/master
c: 2df71b1
h: refs/heads/master
v: v3
  • Loading branch information
Boaz Harrosh authored and James Bottomley committed Apr 3, 2009
1 parent d9ab347 commit 4b1db08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c0baccadc86d9f07e663dd255751dd70e461ba3
refs/heads/master: 2df71b1a5bea7955872dbab5cf89183da697d0f9
6 changes: 0 additions & 6 deletions trunk/drivers/scsi/osd/osd_uld.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,6 @@ static int osd_probe(struct device *dev)
}

dev_set_drvdata(oud->class_member, oud);
error = sysfs_create_link(&scsi_device->sdev_gendev.kobj,
&oud->class_member->kobj, osd_symlink);
if (error)
OSD_ERR("warning: unable to make symlink\n");

OSD_INFO("osd_probe %s\n", disk->disk_name);
return 0;
Expand Down Expand Up @@ -377,8 +373,6 @@ static int osd_remove(struct device *dev)
scsi_device);
}

sysfs_remove_link(&oud->od.scsi_device->sdev_gendev.kobj, osd_symlink);

if (oud->class_member)
device_destroy(osd_sysfs_class,
MKDEV(SCSI_OSD_MAJOR, oud->minor));
Expand Down

0 comments on commit 4b1db08

Please sign in to comment.