generic: platform/mikrotik: fix incorrect test
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 18 Aug 2020 09:57:31 +0000 (11:57 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 18 Aug 2020 10:00:55 +0000 (12:00 +0200)
commitd0498872ff71a79f0676cfc6b6b547c499bff712
treedff9da0a53e6dd9d970cbbee3145136b55ae9f7a
parent5388c725177bc0168c0e67b12de75e1086a2dd09
generic: platform/mikrotik: fix incorrect test

The test is meant to check the result of the preceding kmalloc()

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
target/linux/generic/files/drivers/platform/mikrotik/rb_hardconfig.c