diff options
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | 2010-06-16 12:07:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 14:35:36 -0700 |
commit | 26eca10e6ef64e15f250523a1e7e94ad40ac2bf8 (patch) | |
tree | 516237887aaaa58604b02cc6db7bc43967935858 /drivers/usb/gadget/f_mass_storage.c | |
parent | 3b759c75febd8f9ce91a05705ec43eb7f4b5ed3d (diff) | |
download | kernel_samsung_smdk4412-26eca10e6ef64e15f250523a1e7e94ad40ac2bf8.zip kernel_samsung_smdk4412-26eca10e6ef64e15f250523a1e7e94ad40ac2bf8.tar.gz kernel_samsung_smdk4412-26eca10e6ef64e15f250523a1e7e94ad40ac2bf8.tar.bz2 |
USB: gadget: g_mass_storage: static data instead of dynamic allocation
This patch changes msg_do_config() function so that it uses
a static object for a fsg_common structure instead of dynamically
allocated. This is a micro-optimisation.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/f_mass_storage.c')
0 files changed, 0 insertions, 0 deletions