diff options
author | Geert Uytterhoeven <[email protected]> | 2021-02-23 12:20:03 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-02-25 09:41:32 -0800 |
commit | fcd4ba3bcba78a97a0f8bdb5df37bc74820f9a62 (patch) | |
tree | 1c75f425aca6a2bbb1e7d69fadbee73b78c2608f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8f1c0fd2c84c8bf738b7139d09d4ea53027f47c3 (diff) |
net: dsa: sja1105: Remove unneeded cast in sja1105_crc32()
sja1105_unpack() takes a "const void *buf" as its first parameter, so
there is no need to cast away the "const" of the "buf" variable before
calling it.
Drop the cast, as it prevents the compiler performing some checks.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions