From: Michal Nazarewicz Date: Wed, 16 Jun 2010 10:07:56 +0000 (+0200) Subject: USB: gadget: g_mass_storage: static data instead of dynamic allocation X-Git-Tag: v2.6.36-rc1~293^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26eca10e6ef64e15f250523a1e7e94ad40ac2bf8;p=pandora-kernel.git 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 Signed-off-by: Kyungmin Park Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed