diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-01-06 07:20:31 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-02-01 08:16:36 -0500 |
commit | 9e0c7ef3f6c95357ce359a4f9223f0dfcd21cef7 (patch) | |
tree | 712c9ab76536d68dfe36299ec71e5f18829075c8 /fs/open.c | |
parent | 64a028a6de08545a2c94f302bc7694bf48aee5b5 (diff) |
UBI: mark few variables as __initdata
The @mtd_devs and @mtd_dev_param variables are used only during the
initialization, and all functions that use the variables have
the __init prefix. This means we can safely mark the variables
as __initdata, which is a tiny optimization.
Impact: tiny RAM consumption optimization when UBI is used as a kernel
module.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions