diff options
author | Oscar Carter <oscar.carter@gmx.com> | 2020-04-11 14:51:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 14:57:46 +0200 |
commit | 823b6a951fa28cec07771a43929436ae5961ed83 (patch) | |
tree | 2eba4baed36f24443e975f03c98246c73b71c69d /drivers | |
parent | 2661509ffafbb84cf186b45b391869b51af4a04d (diff) |
staging: vt6656: Remove unnecessary local variable initialization
Don't initialize the ret variable as it is set a few lines later.
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200411125104.9625-3-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6656/baseband.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index ac63811e6451..e0352405e4cf 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -432,7 +432,7 @@ int vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode) int vnt_vt3184_init(struct vnt_private *priv) { - int ret = 0; + int ret; u16 length; u8 *addr; u8 data; |