Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31283
b: refs/heads/master
c: 96192ff
h: refs/heads/master
i:
  31281: 112934a
  31279: 1800271
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 26, 2006
1 parent f07905c commit 6fd2997
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 15 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: ff23eca3e8f613034e0d20ff86f6a89b62f5a14e
refs/heads/master: 96192ff1a9d0c6ef365d21667080259d83ea2f5b
1 change: 0 additions & 1 deletion trunk/arch/i386/kernel/microcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ static struct file_operations microcode_fops = {
static struct miscdevice microcode_dev = {
.minor = MICROCODE_MINOR,
.name = "microcode",
.devfs_name = "cpu/microcode",
.fops = &microcode_fops,
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/cpu/sh4/sq.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ static struct file_operations sq_fops = {
static struct miscdevice sq_dev = {
.minor = STORE_QUEUE_MINOR,
.name = "sq",
.devfs_name = "cpu/sq",
.fops = &sq_fops,
};

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,6 @@ static struct file_operations pkt_ctl_fops = {
static struct miscdevice pkt_misc = {
.minor = MISC_DYNAMIC_MINOR,
.name = "pktcdvd",
.devfs_name = "pktcdvd/control",
.fops = &pkt_ctl_fops
};

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/char/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,6 @@ int misc_register(struct miscdevice * misc)

if (misc->minor < DYNAMIC_MINORS)
misc_minors[misc->minor >> 3] |= 1 << (misc->minor & 7);
if (misc->devfs_name[0] == '\0') {
snprintf(misc->devfs_name, sizeof(misc->devfs_name),
"misc/%s", misc->name);
}
dev = MKDEV(MISC_MAJOR, misc->minor);

misc->class = class_device_create(misc_class, NULL, dev, misc->dev,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/char/mmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,6 @@ static int __init mmtimer_init(void)
return -1;
}

strcpy(mmtimer_miscdev.devfs_name, MMTIMER_NAME);
if (misc_register(&mmtimer_miscdev)) {
printk(KERN_ERR "%s: failed to register device\n",
MMTIMER_NAME);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/md/dm-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,6 @@ static struct file_operations _ctl_fops = {
static struct miscdevice _dm_misc = {
.minor = MISC_DYNAMIC_MINOR,
.name = DM_NAME,
.devfs_name = "mapper/control",
.fops = &_ctl_fops
};

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/radio/miropcm20-rds.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ static struct file_operations rds_fops = {
static struct miscdevice rds_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
.name = "radiotext",
.devfs_name = "v4l/rds/radiotext",
.fops = &rds_fops,
};

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@ static struct miscdevice tun_miscdev = {
.minor = TUN_MINOR,
.name = "tun",
.fops = &tun_fops,
.devfs_name = "net/tun",
};

/* ethtool interface */
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/s390/char/monreader.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ static struct file_operations mon_fops = {

static struct miscdevice mon_dev = {
.name = "monreader",
.devfs_name = "monreader",
.fops = &mon_fops,
.minor = MISC_DYNAMIC_MINOR,
};
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/s390/crypto/z90main.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ static struct miscdevice z90crypt_misc_device = {
.minor = Z90CRYPT_MINOR,
.name = DEV_NAME,
.fops = &z90crypt_fops,
.devfs_name = DEV_NAME
};

/**
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/miscdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct miscdevice {
struct list_head list;
struct device *dev;
struct class_device *class;
char devfs_name[64];
};

extern int misc_register(struct miscdevice * misc);
Expand Down

0 comments on commit 6fd2997

Please sign in to comment.