aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2010-01-10 01:17:34 +0000
committerDavid S. Miller <[email protected]>2010-01-10 13:27:58 -0800
commitc026ca581f22497c42cbe7a2004fa0d5f1bd6c42 (patch)
treedccf68d77a11d1157b38fa661d7d75fbb91aaa2c /include/linux/debugobjects.h
parentc3f6c21d6e60e39c81c27f18ebad9c7615eff545 (diff)
NET: irda, remove unnecessary checks
Stanse found a potential null dereference in ircomm_tty_close and ircomm_tty_hangup. There is a check for tty being NULL, but it is dereferenced earlier. But it is bogus, the tty cannot be NULL, so remove the !tty checks. Signed-off-by: Jiri Slaby <[email protected]> Cc: Samuel Ortiz <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Alan Cox <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions