db/fixup_kernel.sh: delete kobject_init() failure path
commit3ef40a06b7df5df3fdafa02b112b5858561f0164
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 1 Sep 2021 13:29:02 +0000 (1 16:29 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 1 Sep 2021 13:29:02 +0000 (1 16:29 +0300)
tree4f4e93bcce06e46cc291d89e299365bba78a1ad9
parent3221ad1708955a19da8dc2be371854d84eb06b3a
db/fixup_kernel.sh: delete kobject_init() failure path

The kobject_init() function doesn't fail in real life.  If it did then we
are screwed already so there is no benefit in trying to calculate all the
implications.

Unfortunately, it's a void function so we can't delete the error path based
on the return value and have to do this complicated thing instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/fixup_kernel.sh