From: Artem Bityutskiy Date: Mon, 6 Feb 2012 10:39:07 +0000 (+0200) Subject: mtd: remove retlen zeroing duplication X-Git-Tag: v3.4-rc1~16^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834247ec7e281dee839fe4a04bc1bbf0c7395172;p=pandora-kernel.git mtd: remove retlen zeroing duplication The MTD API function now zero the 'retlen' parameter before calling the driver's method — do not do this again in drivers. This removes duplicated '*retlen = 0' assignent from the following methods: 'mtd_point()' 'mtd_read()' 'mtd_write()' 'mtd_writev()' 'mtd_panic_write()' Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed