diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2011-10-25 11:00:07 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@intel.com> | 2011-10-30 13:22:36 +0100 |
commit | 6be55f79a216ccb9f364476b12e5b151a5f6bdb6 (patch) | |
tree | 76925f4ea346af2b2817e5226341aaeae0e8f9d5 /arch/um/kernel/mem.c | |
parent | jffs2: add compr=lzo and compr=zlib options (diff) | |
download | linux-6be55f79a216ccb9f364476b12e5b151a5f6bdb6.tar.xz linux-6be55f79a216ccb9f364476b12e5b151a5f6bdb6.zip |
mtd: clean up usage of MTD_DOCPROBE_ADDRESS
Depending on whether MTD_DOCPROBE_ADVANCED is set or not,
MTD_DOCPROBE_ADDRESS will default to either 0x0000 or 0. That should
lead to (basically) identical code in docprobe.c. The current two
defaults should be merged.
And, while we're at it, if MTD_DOCPROBE is set MTD_DOCPROBE_ADDRESS will
always be set. (MTD_DOCPROBE_ADDRESS depends on MTD_DOCPROBE and it has
a default value.) So the check whether CONFIG_MTD_DOCPROBE_ADDRESS is
defined is unnecessary and should be dropped.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'arch/um/kernel/mem.c')
0 files changed, 0 insertions, 0 deletions