aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/mpt3sas/mpt3sas_ctl.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
index 054d5231c974..0b402b6f2d26 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
@@ -503,19 +503,6 @@ _ctl_fasync(int fd, struct file *filep, int mode)
503} 503}
504 504
505/** 505/**
506 * _ctl_release -
507 * @inode -
508 * @filep -
509 *
510 * Called when application releases the fasyn callback handler.
511 */
512static int
513_ctl_release(struct inode *inode, struct file *filep)
514{
515 return fasync_helper(-1, filep, 0, &async_queue);
516}
517
518/**
519 * _ctl_poll - 506 * _ctl_poll -
520 * @file - 507 * @file -
521 * @wait - 508 * @wait -
@@ -3233,7 +3220,6 @@ struct device_attribute *mpt3sas_dev_attrs[] = {
3233static const struct file_operations ctl_fops = { 3220static const struct file_operations ctl_fops = {
3234 .owner = THIS_MODULE, 3221 .owner = THIS_MODULE,
3235 .unlocked_ioctl = _ctl_ioctl, 3222 .unlocked_ioctl = _ctl_ioctl,
3236 .release = _ctl_release,
3237 .poll = _ctl_poll, 3223 .poll = _ctl_poll,
3238 .fasync = _ctl_fasync, 3224 .fasync = _ctl_fasync,
3239#ifdef CONFIG_COMPAT 3225#ifdef CONFIG_COMPAT