From: Ken Depro Date: Tue, 20 Jan 2015 15:01:13 +0000 (-0500) Subject: staging: unisys: Fix "else not useful after return" warning in virthba.c X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20078e4859dc0776c7e76c97adaebcf15a0f98de;p=pandora-kernel.git staging: unisys: Fix "else not useful after return" warning in virthba.c This patch fixes a warning generated during the checkpatch script that stated "else not useful after return". I modified the code to return a designated status at the end of the function, and replaced the return statement in the "else if" to set the status accordingly. Signed-off-by: Ken Depro Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed