commit | aa055885ebada98f12b0b394d7a06a5ae0d66e8c | [log] [tgz] |
---|---|---|
author | Damien Le Moal <damien.lemoal@wdc.com> | Mon Jul 06 21:33:51 2020 +0900 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jul 08 01:02:59 2020 -0400 |
tree | 16324ba1e2f28abf0d46d61f1748ad04a84b1946 | |
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>