]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vt6656: s_vGenerateTxParameter pvRrvTime should never be NULL
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 24 Aug 2013 12:15:32 +0000 (13:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:25:34 +0000 (06:25 -0700)
commit2dc22d5a22d143e5ea2576e9e9c75da0d660d436
treee38a24b59d4c9564955a5797577dbf5a9a1c8172
parentb6c416ce68f31993612a7b45959fb8b7840e813a
staging: vt6656: s_vGenerateTxParameter pvRrvTime should never be NULL

If pvRrvTime is NULL the whole structure is NULL, so
remove if statements and consolidate to single return.

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