diff options
author | Lee Jones <[email protected]> | 2021-03-12 10:55:25 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-06 09:21:53 -0600 |
commit | f58a0d184eeb4a4140e574aa57f0ece46d7001ad (patch) | |
tree | 924c66de5cddb9bd951d29ed3a6159ab5c4a2d90 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9b48ff078754627a5e3e212b8c3c0e49a4b95f12 (diff) |
block: drbd: drbd_main: Remove duplicate field initialisation
[P_RETRY_WRITE] is initialised more than once.
Fixes the following W=1 kernel build warning(s):
drivers/block/drbd/drbd_main.c: In function ‘cmdname’:
drivers/block/drbd/drbd_main.c:3660:22: warning: initialized field overwritten [-Woverride-init]
drivers/block/drbd/drbd_main.c:3660:22: note: (near initialization for ‘cmdnames[44]’)
Cc: Philipp Reisner <[email protected]>
Cc: Lars Ellenberg <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions