]> Pileus Git - ~andy/linux/commit
UBI: do not compare array with NULL
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 25 Mar 2011 16:48:59 +0000 (18:48 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 08:08:58 +0000 (11:08 +0300)
commit6e5133cc757912e7ba2bfbbfb384667707f45ec3
tree62ff05e2d236d7c107633fd2e27e2d1155c7088d
parent3efe509070e3d27e6d5dbc4bf8588e9453e9b949
UBI: do not compare array with NULL

Coverity spotted that UBI debugging code tries to compare
an array and NULL, which obviously makes little sense. Kill
this check.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vmt.c