diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-10 10:21:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-10 21:46:07 -0700 |
commit | 0f0d0ed0870eca21e36dc520d7d9be292c103f80 (patch) | |
tree | 62f373ae9dd82713d4dc2e48d30693ac83e13c5d /Documentation/cpu-freq | |
parent | 5ad3ea3d3952dcbb8047f97fbfa49804ea53a53a (diff) | |
download | talos-obmc-linux-0f0d0ed0870eca21e36dc520d7d9be292c103f80.tar.gz talos-obmc-linux-0f0d0ed0870eca21e36dc520d7d9be292c103f80.zip |
ATM-ZeitNet: Replace one kzalloc() call by kcalloc()
* The script "checkpatch.pl" can point information out like the following.
WARNING: Prefer kcalloc over kzalloc with multiply
Thus fix the affected source code place.
* Replace the specification of a data type by a pointer dereference
to make the corresponding size determination a bit safer according to
the Linux coding style convention.
* Delete the local variable "size" which became unnecessary with
this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions