Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66e5c643 authored by Jingoo Han's avatar Jingoo Han Committed by Greg Kroah-Hartman
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d6167660
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -616,12 +616,11 @@ static unsigned get_ep_limit(struct s3c_hsotg_ep *hs_ep)
		maxpkt = S3C_DxEPTSIZ_PktCnt_LIMIT + 1;
	} else {
		maxsize = 64+64;
		if (hs_ep->dir_in) {
		if (hs_ep->dir_in)
			maxpkt = S3C_DIEPTSIZ0_PktCnt_LIMIT + 1;
		} else {
		else
			maxpkt = 2;
	}
	}

	/* we made the constant loading easier above by using +1 */
	maxpkt--;