On Wed, 3 Dec 2014, Peter Hüwe wrote:
> From: Peter Huewe <[email protected]>
> 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------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech