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

From: Sergei Shtylyov
Date: Sat Nov 06 2010 - 08:01:55 EST


Hello.

On 06-11-2010 12:06, Jiri Slaby wrote:

Stanse founf that rq in ide_floppy_callback cannot be NULL, because it

found?

is dereferenced all around. So remove the superfluous check.

This appeared after blk_* macors removal.

macros?

Signed-off-by: Jiri Slaby<jslaby@xxxxxxx>
Cc: Christoph Hellwig<hch@xxxxxx>
Cc: "David S. Miller"<davem@xxxxxxxxxxxxx>
Cc: linux-ide@xxxxxxxxxxxxxxx

MBR, Sergei
--
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/