summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/arm/fas216.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-27 16:57:19 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-02-23 21:27:02 -0500
commit6fea7f6fbc1df232d9ff3d35080fb3e19eef4ef2 (patch)
treeda3da4d64a9b0318d95c3764689f3a26831d8a6c /drivers/scsi/arm/fas216.c
parent28558f5af50d8335cbbc8bc2726e0747553e29f5 (diff)
downloadop-kernel-dev-6fea7f6fbc1df232d9ff3d35080fb3e19eef4ef2.zip
op-kernel-dev-6fea7f6fbc1df232d9ff3d35080fb3e19eef4ef2.tar.gz
scsi: acornscsi: mark calc_sync_xfer as __maybe_unused
The calc_sync_xfer function is only used if CONFIG_SCSI_ACORNSCSI_SYNC is set, otherwise we get a compiler warning: scsi/arm/acornscsi.c:680:15: warning: 'calc_sync_xfer' defined but not used [-Wunused-function] unsigned char calc_sync_xfer(unsigned int period, unsigned int offset) This marks the function as __maybe_unused to shut up the warning and silently drop the function in the object code when there is no caller. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/arm/fas216.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud