]> git.baikalelectronics.ru Git - kernel.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)
commit5f32c5a000d158608d449d0eb794392b472b652d
treeb903c111c0319e44ba5a724d6d87f7754c5a4fcc
parent5a5ef0be17bc7cf3dc546c92bbd16edc8e6e52a4
[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