diff options
| author | Damien Le Moal <[email protected]> | 2020-07-06 21:33:51 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-07-08 01:02:59 -0400 |
| commit | aa055885ebada98f12b0b394d7a06a5ae0d66e8c (patch) | |
| tree | 16324ba1e2f28abf0d46d61f1748ad04a84b1946 /tools/perf/scripts/python | |
| parent | 2a6576d29d3b153b58fbaf2bd0ebc5fce424d73b (diff) | |
scsi: megaraid: Fix set but unused variable
In megadev_ioctl(), if MEGA_HAVE_STATS is not defined, the variables
num_ldrv and ustats are unused. Conditionally define them to avoid compiler
warnings.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions