Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7645
b: refs/heads/master
c: 5dbffcd
h: refs/heads/master
i:
  7643: 5a2b036
v: v3
  • Loading branch information
Adrian Bunk authored and James Bottomley committed Jul 30, 2005
1 parent b684333 commit 84bc879
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 0a637a2cec724eeb4649f6d1c07026b72c39ad84
refs/heads/master: 5dbffcd83d826a9b42a10afb89b13156dc5b9539
4 changes: 0 additions & 4 deletions trunk/drivers/scsi/ch.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <linux/interrupt.h>
#include <linux/blkdev.h>
#include <linux/completion.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/ioctl32.h>
#include <linux/compat.h>
#include <linux/chio.h> /* here are all the ioctls */
Expand Down Expand Up @@ -940,8 +939,6 @@ static int ch_probe(struct device *dev)
if (init)
ch_init_elem(ch);

devfs_mk_cdev(MKDEV(SCSI_CHANGER_MAJOR,ch->minor),
S_IFCHR | S_IRUGO | S_IWUGO, ch->name);
class_device_create(ch_sysfs_class,
MKDEV(SCSI_CHANGER_MAJOR,ch->minor),
dev, "s%s", ch->name);
Expand Down Expand Up @@ -974,7 +971,6 @@ static int ch_remove(struct device *dev)

class_device_destroy(ch_sysfs_class,
MKDEV(SCSI_CHANGER_MAJOR,ch->minor));
devfs_remove(ch->name);
kfree(ch->dt);
kfree(ch);
ch_devcount--;
Expand Down

0 comments on commit 84bc879

Please sign in to comment.