summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-07-06 14:33:51 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-08 07:02:59 +0200
commitaa055885ebada98f12b0b394d7a06a5ae0d66e8c (patch)
tree16324ba1e2f28abf0d46d61f1748ad04a84b1946 /virt
parentscsi: megaraid: Remove set but unused variable (diff)
downloadlinux-aa055885ebada98f12b0b394d7a06a5ae0d66e8c.tar.xz
linux-aa055885ebada98f12b0b394d7a06a5ae0d66e8c.zip
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 'virt')
0 files changed, 0 insertions, 0 deletions