diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-09-22 17:02:20 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:41:15 -0700 |
commit | 3e46587ef1582ad4da40bf631dba0c6c8c8a7a47 (patch) | |
tree | 57ad49730babda85d63a2505b6d54c5b48ba9e93 /drivers/staging/vt6656 | |
parent | 78fc84848accc287ca8bc8c566c45c6d599f9ccb (diff) | |
download | op-kernel-dev-3e46587ef1582ad4da40bf631dba0c6c8c8a7a47.zip op-kernel-dev-3e46587ef1582ad4da40bf631dba0c6c8c8a7a47.tar.gz |
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>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/card.c | 3 | ||||
-rw-r--r-- | drivers/staging/vt6656/firmware.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c index 98567a7..9340f15 100644 --- a/drivers/staging/vt6656/card.c +++ b/drivers/staging/vt6656/card.c @@ -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; } /* diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c index eae4f32d..e52934f 100644 --- a/drivers/staging/vt6656/firmware.c +++ b/drivers/staging/vt6656/firmware.c @@ -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) |