[PATCH] USB: g_file_storage: Consolidate min()s
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 5 Apr 2005 15:56:54 +0000 (11:56 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:40 +0000 (14:43 -0700)
commit76f4af8efc72b6091d230cbe718cedca06d2d79e
tree84bb24757b11f24dd6e7c4bed926bd92ee59d5f5
parent020f46a39eb7b99a575b9f4d105fce2b142acdf1
[PATCH] USB: g_file_storage: Consolidate min()s

This patch simplifies the g_file_storage driver by consolidating a bunch
of min() calculations at a single spot.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c