mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 05:56:54 +07:00
USB: s3c-hsotg: fix checkpatch warnings
This patch fixes the checkpatch warnings listed below: WARNING: braces {} are not necessary for any arm of this statement WARNING: please, no space before tabs Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d6167660b2
commit
66e5c64348
@ -616,12 +616,11 @@ static unsigned get_ep_limit(struct s3c_hsotg_ep *hs_ep)
|
|||||||
maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1;
|
maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1;
|
||||||
} else {
|
} else {
|
||||||
maxsize = 64+64;
|
maxsize = 64+64;
|
||||||
if (hs_ep->dir_in) {
|
if (hs_ep->dir_in)
|
||||||
maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1;
|
maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1;
|
||||||
} else {
|
else
|
||||||
maxpkt = 2;
|
maxpkt = 2;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* we made the constant loading easier above by using +1 */
|
/* we made the constant loading easier above by using +1 */
|
||||||
maxpkt--;
|
maxpkt--;
|
||||||
|
Loading…
Reference in New Issue
Block a user