[PATCH 0/3] mtd: some minor cleanups for ooblayout APIs

Masahiro Yamada yamada.masahiro at socionext.com
Tue Nov 8 18:08:07 PST 2016


 - Remove unnecessary initializers
 - Use min_t() helper

Masahiro Yamada (3):
  mtd: remove unneeded initializer in mtd_ooblayout_{get,set}_bytes()
  mtd: use min_t() to refactor mtd_ooblayout_{get,set}_bytes()
  mtd: remove unneeded initializer in mtd_ooblayout_count_bytes()

 drivers/mtd/mtdcore.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
1.9.1




More information about the linux-mtd mailing list