aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2012-02-03 09:37:47 +0000
committerDavid Woodhouse <[email protected]>2012-03-26 23:24:14 +0000
commit050c0c1bb2604a62bb250ff6181e9c00727da510 (patch)
treeb17ed0512819652b9fb9f6254e01c173b528d3fd /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: nftlcore: remove out-of-date and now irrelevant piece of code (diff)
downloadkernel-050c0c1bb2604a62bb250ff6181e9c00727da510.tar.gz
kernel-050c0c1bb2604a62bb250ff6181e9c00727da510.zip
mtd: redboot: remove useless code
We do not need to invoke 'mtd_can_have_bb()' before invoking 'mtd_block_isbad()' because the latter already handles the case when the MTD device does not support bad blocks. Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions