]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB Gadget: file_storage: remove "volatile" declarations
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 29 Nov 2005 17:04:24 +0000 (12:04 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:40 +0000 (13:51 -0800)
commita21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66
treeb903c111c0319e44ba5a724d6d87f7754c5a4fcc
parentbd39b7f195e5a780a3c6710eb1c1450f158a1f31
[PATCH] USB Gadget: file_storage: remove "volatile" declarations

This patch (as612) removes the "volatile" declarations from the
file-storage gadget.  It turns out that they aren't needed for anything
much; adding a few memory barriers does a sufficient job.

The patch also removes a wait_queue.  Not much point having a queue when
only one task is ever going to be on it!

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