Am 24.04.24 um 13:43 schrieb Dan Carpenter:
The "state" pointer points to an offset in the middle of the "mgmt" struct so it can't possibly be NULL. And also we dereferenced it on the line before. So this NULL check is pointless. Delete it. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Reviewed-by: Stefan Wahren <wahrenst@xxxxxxx> Thanks