Re: [Patch 05/16] Remove unnecessary kmalloc casts in the drivers subdirectory.

2007-07-31 Thread Stefan Richter
[EMAIL PROTECTED] wrote: > --- a/drivers/char/tty_io.c > +++ b/drivers/char/tty_io.c > @@ -2034,7 +2034,7 @@ static int init_dev(struct tty_driver *d > } > > if (!*tp_loc) { > - tp = (struct ktermios *) kmalloc(sizeof(struct ktermios), > + tp =

[Patch 05/16] Remove unnecessary kmalloc casts in the drivers subdirectory.

2007-07-31 Thread jack
Signed-off-by: Jack Stone <[EMAIL PROTECTED]> CC: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/char/tty_io.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/char/tty_io.c === ---

[Patch 05/16] Remove unnecessary kmalloc casts in the drivers subdirectory.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/char/tty_io.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/char/tty_io.c === --- a/drivers/char/tty_io.c

Re: [Patch 05/16] Remove unnecessary kmalloc casts in the drivers subdirectory.

2007-07-31 Thread Stefan Richter
[EMAIL PROTECTED] wrote: --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -2034,7 +2034,7 @@ static int init_dev(struct tty_driver *d } if (!*tp_loc) { - tp = (struct ktermios *) kmalloc(sizeof(struct ktermios), + tp = kmalloc(sizeof(struct