diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-12-01 18:06:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-04 09:50:40 +0300 |
commit | 311902d4cc4c13c0f1b4e79ee7eb9e04642f3d0b (patch) | |
tree | 700e271afa86d061ac607f76f7203212434fb785 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 84637512e09c51929e36647a151d26cd1efa1b31 (diff) | |
download | linux-311902d4cc4c13c0f1b4e79ee7eb9e04642f3d0b.tar.xz |
xhci: dbc: Use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type).
The type of the variable can change and one needs not change
the former (unlike the latter). No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231201150647.1307406-10-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions