]> Git Repo - linux.git/commit
hwrng: bcm2835 - remove redundant null check
authorTian Tao <[email protected]>
Wed, 10 Feb 2021 01:14:58 +0000 (09:14 +0800)
committerHerbert Xu <[email protected]>
Sun, 7 Mar 2021 04:13:14 +0000 (15:13 +1100)
commite06da499d69a0b34d5824c5fde38f1f7e1eb9833
tree9cc49c8fbf9ab0999bdcaeceafaa0d7dafa4b136
parentf17a25cb1776c5712e950aaf326528ae652a086c
hwrng: bcm2835 - remove redundant null check

clk_prepare_enable() and clk_disable_unprepare() will check
NULL clock parameter, so It is not necessary to add additional checks.

Signed-off-by: Tian Tao <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/char/hw_random/bcm2835-rng.c
This page took 0.048982 seconds and 4 git commands to generate.