diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-12-01 17:06:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-04 07:50:40 +0100 |
commit | 311902d4cc4c13c0f1b4e79ee7eb9e04642f3d0b (patch) | |
tree | 700e271afa86d061ac607f76f7203212434fb785 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 84637512e09c51929e36647a151d26cd1efa1b31 (diff) |
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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions