diff options
| author | Colin Ian King <[email protected]> | 2021-12-21 00:37:50 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-01-06 00:32:43 +0000 |
| commit | 08d92c7a47375ac98aa5b9cdeb3a8736b37cf6d4 (patch) | |
| tree | 649c586f9a7f8738dc626b19231b798be143a2bd /lib/string_helpers.c | |
| parent | Linux 5.16-rc1 (diff) | |
| download | kernel-08d92c7a47375ac98aa5b9cdeb3a8736b37cf6d4.tar.gz kernel-08d92c7a47375ac98aa5b9cdeb3a8736b37cf6d4.zip | |
clk: socfpga: remove redundant assignment on division
The variable parent_rate is being divided by div and the result
is re-assigned to parent_rate before being returned. The assignment
is redundant, replace /= operator with just / operator.
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Dinh Nguyen <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
