diff options
| author | Oliver Neukum <oliver@neukum.org> | 2010-02-19 20:03:19 -0500 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:55:13 -0500 | 
| commit | 3756c7c091f4ca8bcaf89ee3855a326d69209716 (patch) | |
| tree | 4856fea159556fb5e1b2b0b1f86df4df726695f3 | |
| parent | 46b72d78cb022714c89a9ebc00b9581b550cfca7 (diff) | |
USB: storage: onetouch: unnecessary GFP_ATOMIC
No need to use GFP_ATOMIC to allocate buffers.
Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -rw-r--r-- | drivers/usb/storage/onetouch.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c index 80e65f29921c..198bb3ed95b2 100644 --- a/drivers/usb/storage/onetouch.c +++ b/drivers/usb/storage/onetouch.c | |||
| @@ -202,7 +202,7 @@ static int onetouch_connect_input(struct us_data *ss) | |||
| 202 | goto fail1; | 202 | goto fail1; | 
| 203 | 203 | ||
| 204 | onetouch->data = usb_buffer_alloc(udev, ONETOUCH_PKT_LEN, | 204 | onetouch->data = usb_buffer_alloc(udev, ONETOUCH_PKT_LEN, | 
| 205 | GFP_ATOMIC, &onetouch->data_dma); | 205 | GFP_KERNEL, &onetouch->data_dma); | 
| 206 | if (!onetouch->data) | 206 | if (!onetouch->data) | 
| 207 | goto fail1; | 207 | goto fail1; | 
| 208 | 208 | ||
