diff options
author | Brian Norris <computersforpeace@gmail.com> | 2016-03-07 15:52:05 -0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-07-09 18:48:53 -0700 |
commit | b137aab438382fdadfe1272869357485af0252b4 (patch) | |
tree | aca0d7028b98bbbc2c00aa694b9034141af3aa56 /drivers/mtd/ssfdc.c | |
parent | c3cb77f8980db9dba614822d2d4a4cc61e44c8e2 (diff) |
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 'drivers/mtd/ssfdc.c')
0 files changed, 0 insertions, 0 deletions