summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorJayachandran C <jchandra@digeo.com>2005-10-30 23:26:16 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-30 23:26:16 +0000
commita2436b22deac7834e0f87897b207a2dc1407dc40 (patch)
tree4c4ad96ee6c55f3fe68605ef5bd1d98aca8d3092 /drivers/pcmcia
parent9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 (diff)
downloadblackbird-op-linux-a2436b22deac7834e0f87897b207a2dc1407dc40.tar.gz
blackbird-op-linux-a2436b22deac7834e0f87897b207a2dc1407dc40.zip
[SERIAL] remove unneeded code from serial_core.c
This patch fixes an issue reported by Coverity in serial/serial_core.c Error reported: Variable "&((info)->tty)->flags" tracked as NULL was passed to a function that dereferences it. The later statements in the function assumes 'info->tty != NULL', so this check is not necessary. Probably a 'BUG_ON(info->tty == NULL)' can be added. Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud