On Wed, 3 Dec 2014, Peter Hüwe wrote: > From: Peter Huewe <peterhuewe@xxxxxx> > Date: Wed, 3 Dec 2014 00:18:52 +0100 > Subject: [PATCH] tpm:tpm_i2c_nuvoton: simpyl return statements simpyl? > if !rc evals to false it is 0 > -> we can return rc in both cases Why assigning rc and returning it when you can return the result of tpm_chip_register() right away? Thanks, tglx