From: Greg Kroah-Hartman Date: Wed, 12 Sep 2007 22:06:57 +0000 (-0700) Subject: kobject: remove the static array for the name X-Git-Tag: v2.6.24-rc1~1394^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2c9cb0259acd2aed184499ebe41ab00da13b25;p=pandora-kernel.git kobject: remove the static array for the name Due to historical reasons, struct kobject contained a static array for the name, and a dynamic pointer in case the name got bigger than the array. That's just dumb, as people didn't always know which variable to reference, even with the accessor for the kobject name. This patch removes the static array, potentially saving a lot of memory as the majority of kobjects do not have a very long name. Thanks to Kay for the idea to do this. Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed