Prev: [182/197] tpm: autoload tpm_tis based on system PnP IDs
Next: [175/197] Revert "sunrpc: move the close processing after do recvfrom method"
From: Greg KH on 22 Apr 2010 15:40 2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Kashyap, Desai <kashyap.desai(a)lsi.com> commit e39e145dfb78d4e20d89139d2576306b4279c126 upstream. Signed-off-by: Kashyap Desai <kashyap.desai(a)lsi.com> Signed-off-by: James Bottomley <James.Bottomley(a)suse.de> Cc: maximilian attems <max(a)stro.at> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- drivers/message/fusion/mptctl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c @@ -621,11 +621,8 @@ __mptctl_ioctl(struct file *file, unsign */ iocnumX = khdr.iocnum & 0xFF; if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) || - (iocp == NULL)) { - printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - ioc%d not found!\n", - __FILE__, __LINE__, iocnumX); + (iocp == NULL)) return -ENODEV; - } if (!iocp->active) { printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - Controller disabled.\n", -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |