Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mpt3sas: don't wank with fasync on ->release()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 70ab27dd 96625a74

-14
-14
drivers/scsi/mpt3sas/mpt3sas_ctl.c
··· 503 503 } 504 504 505 505 /** 506 - * _ctl_release - 507 - * @inode - 508 - * @filep - 509 - * 510 - * Called when application releases the fasyn callback handler. 511 - */ 512 - static int 513 - _ctl_release(struct inode *inode, struct file *filep) 514 - { 515 - return fasync_helper(-1, filep, 0, &async_queue); 516 - } 517 - 518 - /** 519 506 * _ctl_poll - 520 507 * @file - 521 508 * @wait - ··· 3220 3233 static const struct file_operations ctl_fops = { 3221 3234 .owner = THIS_MODULE, 3222 3235 .unlocked_ioctl = _ctl_ioctl, 3223 - .release = _ctl_release, 3224 3236 .poll = _ctl_poll, 3225 3237 .fasync = _ctl_fasync, 3226 3238 #ifdef CONFIG_COMPAT