Skip to content

Commit

Permalink
[PATCH] devfs: Remove the line_driver devfs_name field as it's no lon…
Browse files Browse the repository at this point in the history
…ger needed

Also fixes all drivers that set this field.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jun 26, 2006
1 parent 5e48307 commit 264f486
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion arch/um/drivers/line.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ struct tty_driver *line_register_devfs(struct lines *set,

driver->driver_name = line_driver->name;
driver->name = line_driver->device_name;
driver->devfs_name = line_driver->devfs_name;
driver->major = line_driver->major;
driver->minor_start = line_driver->minor_start;
driver->type = line_driver->type;
Expand Down
1 change: 0 additions & 1 deletion arch/um/drivers/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ static int ssl_remove(int n);
static struct line_driver driver = {
.name = "UML serial line",
.device_name = "ttyS",
.devfs_name = "tts/",
.major = TTY_MAJOR,
.minor_start = 64,
.type = TTY_DRIVER_TYPE_SERIAL,
Expand Down
1 change: 0 additions & 1 deletion arch/um/drivers/stdio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static int con_remove(int n);
static struct line_driver driver = {
.name = "UML console",
.device_name = "tty",
.devfs_name = "vc/",
.major = TTY_MAJOR,
.minor_start = 0,
.type = TTY_DRIVER_TYPE_CONSOLE,
Expand Down
1 change: 0 additions & 1 deletion arch/um/include/line.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
struct line_driver {
char *name;
char *device_name;
char *devfs_name;
short major;
short minor_start;
short type;
Expand Down

0 comments on commit 264f486

Please sign in to comment.