staging: comedi: fix potentially uninitialised variable
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 11 Nov 2013 11:31:51 +0000 (12:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 17:09:07 +0000 (09:09 -0800)
commitc16975a06cfbbdedfde89e81bd00c7e0ad9de377
treeb8911eb50f7b938425c47c637ee651d6541de992
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
staging: comedi: fix potentially uninitialised variable

If none of the if conditions take a true path, the ret variable will
never be assigned a value.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c