Re: [PATCH] mfd: remove dead code fromdrivers/mfd/max8997-irq.c:get_i2c()

From: Samuel Ortiz
Date: Mon Jul 04 2011 - 13:34:21 EST


Hi Jesper,

On Sat, Jul 02, 2011 at 10:38:11PM +0200, Jesper Juhl wrote:
> We either hit one of the case's or the default in the switch statement
> in get_i2c(), so the 'return ERR_PTR(-EINVAL);' at the end of the
> function is just dead code - remove it.
Thanks, patch applied.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/