diff options
author | Alan Cox <alan@linux.intel.com> | 2010-02-17 13:07:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:43:22 -0800 |
commit | 4165fe4ef7305609a96c7f248cefb9c414d0ede5 (patch) | |
tree | 3e239b821a4b5365c7e15996d44fbf4726cd7840 /drivers/char/nozomi.c | |
parent | 638b9648ab51c9c549ff5735d3de519ef6199df3 (diff) | |
download | kernel_samsung_smdk4412-4165fe4ef7305609a96c7f248cefb9c414d0ede5.zip kernel_samsung_smdk4412-4165fe4ef7305609a96c7f248cefb9c414d0ede5.tar.gz kernel_samsung_smdk4412-4165fe4ef7305609a96c7f248cefb9c414d0ede5.tar.bz2 |
tty: Fix up char drivers request_room usage
We can't change them all but quite a few misuse it.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/nozomi.c')
-rw-r--r-- | drivers/char/nozomi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index 584910f..a3f32a1 100644 --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -853,8 +853,6 @@ static int receive_data(enum port_type index, struct nozomi *dc) goto put; } - tty_buffer_request_room(tty, size); - while (size > 0) { read_mem32((u32 *) buf, addr + offset, RECEIVE_BUF_MAX); |