diff options
| author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-07-06 21:33:51 +0900 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-08 01:02:59 -0400 |
| commit | aa055885ebada98f12b0b394d7a06a5ae0d66e8c (patch) | |
| tree | 16324ba1e2f28abf0d46d61f1748ad04a84b1946 /tools/perf/scripts/python/stackcollapse.py | |
| 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/20200706123351.451959-1-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
