Commit 14cd1df4 authored by Dilek Uzulmez's avatar Dilek Uzulmez Committed by Greg Kroah-Hartman

staging: vt6655: Remove unnecessary else after return

This patch fixes checkpatch.pl warning in files of vt6655
WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarDilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3aaa06e1
...@@ -1792,18 +1792,17 @@ BBuGetFrameTime( ...@@ -1792,18 +1792,17 @@ BBuGetFrameTime(
uFrameTime++; uFrameTime++;
return uPreamble + uFrameTime; return uPreamble + uFrameTime;
} else { }
uFrameTime = (cbFrameLength * 8 + 22) / uRate; /* ???????? */ uFrameTime = (cbFrameLength * 8 + 22) / uRate; /* ???????? */
uTmp = ((uFrameTime * uRate) - 22) / 8; uTmp = ((uFrameTime * uRate) - 22) / 8;
if (cbFrameLength != uTmp) if (cbFrameLength != uTmp)
uFrameTime++; uFrameTime++;
uFrameTime = uFrameTime * 4; /* ??????? */ uFrameTime = uFrameTime * 4; /* ??????? */
if (byPktType != PK_TYPE_11A) if (byPktType != PK_TYPE_11A)
uFrameTime += 6; /* ?????? */ uFrameTime += 6; /* ?????? */
return 20 + uFrameTime; /* ?????? */ return 20 + uFrameTime; /* ?????? */
}
} }
/* /*
......
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