aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-15 13:31:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 15:41:46 -0400
commit70ab27ddb7ccb8d42a4e79730be5bcd7939851b6 (patch)
tree757089be5896fe84c7615cdd3ade603b68f3f761 /drivers/scsi/mpt3sas
parent96625a74c7968fdd02476d01579ac826799e4f08 (diff)
mpt3sas: don't wank with fasync on ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/mpt3sas')
-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