diff options
author | Jiri Slaby <[email protected]> | 2010-01-10 12:30:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-03-02 14:43:16 -0800 |
commit | ca1cce49c2778439d00bbf516f70386f3d3b71e5 (patch) | |
tree | 637225c572d045b9273c8239d211326d314f5019 /net/lapb/lapb_iface.c | |
parent | e6c4ef984ebbd1a0458503417da91f3de47cbbe0 (diff) |
Char: synclink, remove unnecessary checks
Stanse found a potential null dereference in mgsl_put_char and
mgsl_write. There is a check for tty being NULL, but it is
dereferenced earlier.
Actually, tty cannot be NULL in .write and .put_char, so remove
the tests.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions