aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2023-05-19 18:04:31 +0200
committerHerbert Xu <[email protected]>2023-05-24 18:12:33 +0800
commit97ecafc4f6566f538bbde09d3a8baae4a3419eef (patch)
tree039f0e666ca1bf1c821abe147309cf875e5f81b2 /fs/jbd2/commit.c
parentb7be31b0d5088507b745bfa014798e52fad6dc7a (diff)
hwrng: imx-rngc - simpler check for available random bytes
The "level" field in the status register contains the number of random bytes that are available in the FIFO. Use GENMASK to extract this field. We only want to check if level is 0 or if we can read another byte. There's no need for the shift or the level variable. Signed-off-by: Martin Kaiser <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions