summaryrefslogtreecommitdiff
path: root/drivers/scsi/aacraid/commctrl.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-12-11 00:32:41 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-13 04:35:33 +0300
commitbc127d93e4eca0f45caf2e68e9aeb06284b15b86 (patch)
treec64d761ee2dbaaebfe4d3e3bd74e8239b8089bad /drivers/scsi/aacraid/commctrl.c
parentdc71eccc175eae4959b06ae697ebef019719063d (diff)
downloadlinux-bc127d93e4eca0f45caf2e68e9aeb06284b15b86.tar.xz
scsi: aacraid: change event_wait to a completion
The event_wait semaphore has completion semantics, so we can change it over to the completion interface for clarity without changing the behavior. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Dave Carroll <david.carroll@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/commctrl.c')
-rw-r--r--drivers/scsi/aacraid/commctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c
index 6a6ad9477786..e2899ff7913e 100644
--- a/drivers/scsi/aacraid/commctrl.c
+++ b/drivers/scsi/aacraid/commctrl.c
@@ -41,7 +41,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h> /* ssleep prototype */
#include <linux/kthread.h>
-#include <linux/semaphore.h>
#include <linux/uaccess.h>
#include <scsi/scsi_host.h>