diff options
| author | Adrian Bunk <[email protected]> | 2007-10-16 23:29:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-17 08:42:55 -0700 |
| commit | 827afdf093cce59bbbf9dc9f1c2eab86e2232b9e (patch) | |
| tree | 287510107cb816eb7529da88f961a4b49ffe673d /include | |
| parent | cba4fbbff2e9722e93b28e18fa7714b9013cbdda (diff) | |
n_hdlc.c: fix check-after-use
The Coverity checker spotted that we'd have already oops'ed if "tty"
was NULL.
Since "tty" can't be NULL when we reach this line of code this patch
removes the NULL check.
Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions