Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: gadget: bdc: fix checkpatch.pl repeated word warning

fix the warning:
WARNING:REPEATED_WORD: Possible repeated word: 'and'

Cc: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1610505748-30616-11-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chunfeng Yun and committed by
Greg Kroah-Hartman
ba9fc77c 14a46f82

+1 -1
+1 -1
drivers/usb/gadget/udc/bdc/bdc_ep.c
··· 1405 1405 } 1406 1406 1407 1407 /* 1408 - * Queue a 0 byte bd only if wLength is more than the length and and length is 1408 + * Queue a 0 byte bd only if wLength is more than the length and length is 1409 1409 * a multiple of MaxPacket then queue 0 byte BD 1410 1410 */ 1411 1411 static int ep0_queue_zlp(struct bdc *bdc)