mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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: Dilek Uzulmez <dilekuzulmez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3aaa06e1cb
commit
14cd1df4ba
@ -1792,18 +1792,17 @@ BBuGetFrameTime(
|
||||
uFrameTime++;
|
||||
|
||||
return uPreamble + uFrameTime;
|
||||
} else {
|
||||
uFrameTime = (cbFrameLength * 8 + 22) / uRate; /* ???????? */
|
||||
uTmp = ((uFrameTime * uRate) - 22) / 8;
|
||||
if (cbFrameLength != uTmp)
|
||||
uFrameTime++;
|
||||
|
||||
uFrameTime = uFrameTime * 4; /* ??????? */
|
||||
if (byPktType != PK_TYPE_11A)
|
||||
uFrameTime += 6; /* ?????? */
|
||||
|
||||
return 20 + uFrameTime; /* ?????? */
|
||||
}
|
||||
uFrameTime = (cbFrameLength * 8 + 22) / uRate; /* ???????? */
|
||||
uTmp = ((uFrameTime * uRate) - 22) / 8;
|
||||
if (cbFrameLength != uTmp)
|
||||
uFrameTime++;
|
||||
|
||||
uFrameTime = uFrameTime * 4; /* ??????? */
|
||||
if (byPktType != PK_TYPE_11A)
|
||||
uFrameTime += 6; /* ?????? */
|
||||
|
||||
return 20 + uFrameTime; /* ?????? */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user