diff options
author | Colin Ian King <[email protected]> | 2017-10-29 13:14:26 +0000 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2018-01-17 21:48:02 +0100 |
commit | f50629df49f59b044c89f99a4bcd02cafdb38258 (patch) | |
tree | a717c9aed0d1dd0af22df5b5b4fd54bb91dda746 /tools/perf/scripts/python | |
parent | af7bcee27652bbf2502207500ad200763707a160 (diff) |
ubi: fastmap: Clean up the initialization of pointer p
The pointer p is being initialized with one value and a few lines
later being set to a newer replacement value. Clean up the code by
using the latter assignment to p as the initial value. Cleans up
clang warning:
drivers/mtd/ubi/fastmap.c:217:19: warning: Value stored to 'p'
during its initialization is never read
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions