From: Dan Carpenter on
There are two return statements in a row. The first return statement is
the correct one. For the unused return statement, it is the
mca_device_read_stored_pos() which returns mca_dev->pos[reg];

Signed-off-by: Dan Carpenter <error27(a)gmail.com>

diff --git a/drivers/mca/mca-device.c b/drivers/mca/mca-device.c
index e7adf89..ff078f4 100644
--- a/drivers/mca/mca-device.c
+++ b/drivers/mca/mca-device.c
@@ -65,8 +65,6 @@ unsigned char mca_device_read_pos(struct mca_device *mca_dev, int reg)
struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);

return mca_bus->f.mca_read_pos(mca_dev, reg);
-
- return mca_dev->pos[reg];
}
EXPORT_SYMBOL(mca_device_read_pos);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/