commit | f94113d0665375c2096a3c7b5014103048b2d310 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Fri May 17 17:28:20 2019 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 30 09:16:35 2019 -0400 |
tree | b95a87638c2ff5d7eab76fab4c883e196e96c962 | |
parent | 4afcc0f8af2bc225cf5057ca082dc4f353ca8ee5 [diff] |
rand32_entropy_device.c: remove atomic_t misuse There is no reason for storing a pointer into an atomic_t variable here. Not only because this requires a dubious double cast that breaks on 64-bit builds as atomic_t is a 32-bit type, but also because the comment in the code already admits that the whole operation isn't atomic anyway and that it is fine. So let's keep things simple. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>