Commit aea2cda3 authored by Pawel Lebioda's avatar Pawel Lebioda Committed by Greg Kroah-Hartman

staging: nvec: remove unnecessary 'else' after 'return' statement

Fix the following warning reported by checkpatch.pl:

WARNING: else is not generally useful after a break or return
235: FILE: drivers/staging/nvec/nvec.c:235
Signed-off-by: default avatarPawel Lebioda <pawel.lebioda89@gmail.com>
Acked-by: default avatarMarc Dietrich <marvin24@gmx.de>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fa799617
......@@ -232,7 +232,6 @@ static size_t nvec_msg_size(struct nvec_msg *msg)
return 2;
else if (event_length == NVEC_3BYTES)
return 3;
else
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment