[PATCH] Dead code in mtd/maps/pci.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 10:29:50 +0000 (02:29 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:49 +0000 (12:18 -0800)
commitedcbce2150fec1f6e6670e14eb65098eebfacae8
tree859cd7d553c223651b585e672c522efc9bf71926
parent2d2dce0eb650831046316a9cd091ea5257aa7d4b
[PATCH] Dead code in mtd/maps/pci.c

This fixes coverity bug #12.  The first two gotos in the function still
have the initial value for mtd set.  And the third goto just triggers for
!mtd

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/maps/pci.c