Re: [PATCH] IDE: ide-floppy, remove unnecessary NULL check

From: David Miller
Date: Mon Nov 22 2010 - 14:39:25 EST


From: Jiri Slaby <jslaby@xxxxxxx>
Date: Sat, 6 Nov 2010 10:06:51 +0100

> Stanse founf that rq in ide_floppy_callback cannot be NULL, because it
> is dereferenced all around. So remove the superfluous check.
>
> This appeared after blk_* macors removal.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Applied with commit message typos fixed.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/