aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_ctl.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_ctl.c b/drivers/scsi/mpt2sas/mpt2sas_ctl.c
index 08685c4cf231..eec052c2670a 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_ctl.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.c
@@ -505,19 +505,6 @@ _ctl_fasync(int fd, struct file *filep, int mode)
505} 505}
506 506
507/** 507/**
508 * _ctl_release -
509 * @inode -
510 * @filep -
511 *
512 * Called when application releases the fasyn callback handler.
513 */
514static int
515_ctl_release(struct inode *inode, struct file *filep)
516{
517 return fasync_helper(-1, filep, 0, &async_queue);
518}
519
520/**
521 * _ctl_poll - 508 * _ctl_poll -
522 * @file - 509 * @file -
523 * @wait - 510 * @wait -
@@ -3027,7 +3014,6 @@ struct device_attribute *mpt2sas_dev_attrs[] = {
3027static const struct file_operations ctl_fops = { 3014static const struct file_operations ctl_fops = {
3028 .owner = THIS_MODULE, 3015 .owner = THIS_MODULE,
3029 .unlocked_ioctl = _ctl_ioctl, 3016 .unlocked_ioctl = _ctl_ioctl,
3030 .release = _ctl_release,
3031 .poll = _ctl_poll, 3017 .poll = _ctl_poll,
3032 .fasync = _ctl_fasync, 3018 .fasync = _ctl_fasync,
3033#ifdef CONFIG_COMPAT 3019#ifdef CONFIG_COMPAT