Skip to content
Snippets Groups Projects
Commit 849426c3 authored by Maxin B John's avatar Maxin B John Committed by Greg Kroah-Hartman
Browse files

usb: gadget: Remove the LUN checks which are always true


Comparing an unsigned integer with greater than or equal to zero is
always true.  So, it is safe to remove similar checks from
'f_mass_storage.c' and 'file_storage.c'

Signed-off-by: default avatarMaxin B. John <maxin.john@gmail.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 304b0b57
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment