On Sat, 2013-03-09 at 19:16 +0100, Lars-Peter Clausen wrote: > i2c_del_adapter() always returns 0. So all checks testing whether it will be > non zero will always evaluate to false and the conditional code is dead code. > This patch updates all callers of i2c_del_mux_adapter() to ignore the return > value and assume that it will always succeed (which it will). In a subsequent > patch the return type of i2c_del_adapter() will be made void. > > Cc: Jean Delvare <kh...@linux-fr.org> > Cc: Guan Xuetao <g...@mprc.pku.edu.cn> > Cc: Mauro Carvalho Chehab <mche...@redhat.com> > Cc: Ben Hutchings <bhutchi...@solarflare.com>
Acked-by: Ben Hutchings <bhutchi...@solarflare.com> (for the sfc changes) > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Alan Cox <a...@linux.intel.com> > Cc: Nicolas Ferre <nicolas.fe...@atmel.com> > Cc: Aaro Koskinen <aaro.koski...@iki.fi> > Cc: Marek Vasut <ma...@denx.de> (commit_signer:11/20=55%) You should probably remove that get_maintainer.pl annotation! Ben. > Cc: Shawn Guo <shawn....@linaro.org> > Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> > Cc: Lars Poeschel <poesc...@lemonage.de> > Signed-off-by: Lars-Peter Clausen <l...@metafoo.de> [...] -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html