OSDN Git Service

staging: vt6655: s_vGenerateTxParameter removed nested pvRrvTime NULL check
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 30 Aug 2014 21:25:32 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 22:19:15 +0000 (15:19 -0700)
commitc00a378bffaf48ef08366d7e84a536241fb187b5
tree38553e5f33e2fe37de23edaf55c99bb047929ad4
parent853532d3b5c440d9824b10c6aee478ef77aef3b7
staging: vt6655: s_vGenerateTxParameter removed nested pvRrvTime NULL check

Just do single NULL check on pvRrvTime and return.

If pvRrvTime is NULL none of the if statements are valid.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rxtx.c