misc: genwqe: fix uninitialized return value in genwqe_free_sync_sgl()
authorChristian Engelmayer <cengelma@gmx.at>
Tue, 13 May 2014 20:47:03 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 00:43:12 +0000 (17:43 -0700)
Function genwqe_free_sync_sgl() returns the value of variable 'rc'. 'rc' is
only set in the error paths, thus initialize it by 0. Coverity CID 1204242.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found