]> git.baikalelectronics.ru Git - kernel.git/commit
uas: Reduce number of function arguments for uas_alloc_foo functions
authorHans de Goede <hdegoede@redhat.com>
Fri, 3 Oct 2014 10:08:56 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Oct 2014 21:46:22 +0000 (14:46 -0700)
commit49880db399f32de78a7d58ecaa8eda4a60ab089b
tree5af10ced282f6852942f5a95ddf20cd8fb77ec42
parent9b6ae077630762b74156a385003629560acf5b48
uas: Reduce number of function arguments for uas_alloc_foo functions

The stream_id and pipe are already present in uas_cmd_info resp uas_dev_info,
so there is no need to pass a copy along.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c