diff options
author | 2016-03-07 15:52:05 -0800 | |
---|---|---|
committer | 2016-07-09 18:48:53 -0700 | |
commit | b137aab438382fdadfe1272869357485af0252b4 (patch) | |
tree | aca0d7028b98bbbc2c00aa694b9034141af3aa56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: silence some uninitialized variable warnings (diff) | |
download | linux-dev-b137aab438382fdadfe1272869357485af0252b4.tar.xz linux-dev-b137aab438382fdadfe1272869357485af0252b4.zip |
mtd: physmap_of: fix set but unused warning
drivers/mtd/maps/physmap_of.c: In function ‘of_flash_probe’:
drivers/mtd/maps/physmap_of.c:165:16: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
This could be a problem if the 'reg' property is not set, since that
means 'count' will be uninitialized.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions