aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2007-09-12 15:06:57 -0700
committerGreg Kroah-Hartman <[email protected]>2007-10-12 14:51:02 -0700
commitce2c9cb0259acd2aed184499ebe41ab00da13b25 (patch)
tree1c0b25cc5cff7f7778b3e8c7441c2f5d89f027f6 /scripts
parent34980ca8faebfcce31094eba6ffbb0113950361f (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions