aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-scmi.c
diff options
context:
space:
mode:
authorDamien Le Moal2020-07-06 21:33:51 +0900
committerMartin K. Petersen2020-07-08 01:02:59 -0400
commitaa055885ebada98f12b0b394d7a06a5ae0d66e8c (patch)
tree16324ba1e2f28abf0d46d61f1748ad04a84b1946 /drivers/i2c/busses/i2c-scmi.c
parent2a6576d29d3b153b58fbaf2bd0ebc5fce424d73b (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 'drivers/i2c/busses/i2c-scmi.c')
0 files changed, 0 insertions, 0 deletions