diff options
| author | 2021-06-29 00:54:19 +0900 | |
|---|---|---|
| committer | 2021-07-25 11:36:28 +0200 | |
| commit | 7fcecf51c18fa7e58e21f1a32d6a8df0c6f85784 (patch) | |
| tree | 5103c47a89685ca7a285383f0715c9928aaf6ef1 /scripts/stackusage | |
| parent | can: etas_es58x: add es58x_free_netdevs() to factorize code (diff) | |
can: etas_es58x: use sizeof and sizeof_field macros instead of constant values
Replace two constant values by a call to sizeof{,_field} on the
relevant field to make the logic easier to understand.
Link: https://lore.kernel.org/r/20210628155420.1176217-6-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
