staging: vt6656: remove unnecessary else after return

This patch fixes checkpatch.pl warning in files of vt6656
WARNING: else is not generally useful after a break or return

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tapasweni Pathak 2014-09-22 17:02:20 +05:30 committed by Greg Kroah-Hartman
parent 78fc84848a
commit 3e46587ef1
2 changed files with 2 additions and 4 deletions

View file

@ -487,8 +487,7 @@ u8 vnt_get_pkt_type(struct vnt_private *priv)
return (u8)priv->bb_type;
else if (vnt_ofdm_min_rate(priv))
return PK_TYPE_11GA;
else
return PK_TYPE_11GB;
return PK_TYPE_11GB;
}
/*

View file

@ -105,8 +105,7 @@ int vnt_firmware_branch_to_sram(struct vnt_private *priv)
NULL);
if (status != STATUS_SUCCESS)
return false;
else
return true;
return true;
}
int vnt_check_firmware_version(struct vnt_private *priv)